Kajika@lemmy.ml to Programmer Humor@lemmy.ml · 1 year agoFloating-point arithmeticlemmy.mlimagemessage-square21fedilinkarrow-up1712arrow-down15cross-posted to: programmer_humor
arrow-up1707arrow-down1imageFloating-point arithmeticlemmy.mlKajika@lemmy.ml to Programmer Humor@lemmy.ml · 1 year agomessage-square21fedilinkcross-posted to: programmer_humor
minus-squareTheFadingOne@feddit.delinkfedilinkarrow-up5·edit-21 year 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