• Neil Conway's avatar
    Portability fixes and bug fixes for recent floating point input changes. · 80ac9b06
    Neil Conway authored
    In particular, don't depend on strtod() to accept 'NaN' and 'Infinity'
    inputs (while this is required by C99, not all platforms are compliant
    with that yet). Also, don't require glibc's behavior from isinf():
    it seems that on a lot of platforms isinf() does not itself distinguish
    between negative and positive infinity.
    80ac9b06
float.c 42 KB