Kajika@lemmy.ml to Programmer Humor@lemmy.ml · 10 months agoFloating-point arithmeticlemmy.mlimagemessage-square25fedilinkarrow-up1724arrow-down15
arrow-up1719arrow-down1imageFloating-point arithmeticlemmy.mlKajika@lemmy.ml to Programmer Humor@lemmy.ml · 10 months agomessage-square25fedilink
minus-squareTheFadingOne@feddit.delinkfedilinkarrow-up5·edit-210 months agoIf you use the GNU libc the feenableexcept function, which you can use to enable certain floating point exceptions, could be useful to catch unexpected/unwanted NaNs
If you use the GNU libc the
feenableexcept
function, which you can use to enable certain floating point exceptions, could be useful to catch unexpected/unwanted NaNs