News for hackers. Stuff that matters.
Re:How does your programming language handle “minus zero” (-... by OneWingedShark on Friday March 05, 2021 @06:55PM (#26363844)
laughs in Ada

    -- IEEE754/64-bits: Interfaces.IEEE_Float_64
    -- And here we strip out non-numeric values.
    Use Interfaces;
    Subtype Numeric_Real is IEEE_Float_64 range IEEE_Float_64'Range;

Done.

There are no comments on this comment yet.