• Paul Sokolovsky's avatar
    py/formatfloat: Convert to fully portable implementation. · 9aaccd47
    Paul Sokolovsky authored
    This takes previous IEEE-754 single precision float implementation, and
    converts it to fully portable parametrizable implementation using C99
    functions like signbit(), isnan(), isinf(). As long as those functions
    are available (they can be defined in adhoc manner of course), and
    compiler can perform standard arithmetic and comparison operations on a
    float type, this implementation will work with any underlying float type
    (including types whose mantissa is larger than available intergral integer
    type).
    9aaccd47