708
Floating-point arithmetic
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
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