Kajika to Programmer Humor · 9 months agoFloating-point arithmeticimagemessage-square24fedilinkarrow-up1730arrow-down15cross-posted to: programmer_humor@programming.dev
arrow-up1725arrow-down1imageFloating-point arithmeticKajika to Programmer Humor · 9 months agomessage-square24fedilinkcross-posted to: programmer_humor@programming.dev
minus-squareTheFadingOne@feddit.delinkfedilinkarrow-up5·edit-29 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