minus-squareTheFadingOne@feddit.detoProgrammer Humor@lemmy.ml•Floating-point arithmeticlinkfedilinkarrow-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 linkfedilink
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