724Floating-point arithmetic(lemmy.ml)posted 9 months ago byKajika@lemmy.mlin programmerhumor@lemmy.mlView comments24 commentssavehidereportSort:HotTopControversialNewOldYou are viewing a single thread.View all comments View context [ +- ]TheFadingOne@feddit.de5 points9 months ago*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 permalinksavereportparentreply