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