Kajika@lemmy.ml to Programmer Humor@lemmy.ml · 7 months agoFloating-point arithmeticlemmy.mlimagemessage-square24fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1imageFloating-point arithmeticlemmy.mlKajika@lemmy.ml to Programmer Humor@lemmy.ml · 7 months agomessage-square24fedilink
minus-squareTheFadingOne@feddit.delinkfedilinkarrow-up0·edit-27 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