Kajika@lemmy.ml to Programmer Humor@lemmy.ml · 11 months agoFloating-point arithmeticlemmy.mlimagemessage-square21fedilinkarrow-up1711arrow-down15cross-posted to: [email protected]
arrow-up1706arrow-down1imageFloating-point arithmeticlemmy.mlKajika@lemmy.ml to Programmer Humor@lemmy.ml · 11 months agomessage-square21fedilinkcross-posted to: [email protected]
minus-squareTheFadingOne@feddit.delinkfedilinkarrow-up5·edit-211 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