• TheFadingOne@feddit.de
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    10 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