Kajika@lemmy.ml to Programmer Humor@lemmy.ml · 8 months agoFloating-point arithmeticlemmy.mlimagemessage-square23fedilinkarrow-up1318arrow-down13
arrow-up1315arrow-down1imageFloating-point arithmeticlemmy.mlKajika@lemmy.ml to Programmer Humor@lemmy.ml · 8 months agomessage-square23fedilink
minus-squareTheFadingOne@feddit.delinkfedilinkarrow-up3·edit-28 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