• Tom Lane's avatar
    Remove the special cases to prevent minus-zero results in float4 and float8 · 86ffdcad
    Tom Lane authored
    unary minus operators.  We weren't attempting to prevent minus zero anywhere
    else; in view of our gradual trend to make the float datatypes more IEEE
    standard compliant, we should allow minus zero here rather than disallow it
    elsewhere.
    
    We don't, however, expect that all platforms will produce minus zero, so
    we need to adjust the one affected regression test to allow both results.
    
    Per discussion of bug #4660.
    
    (In passing, clean up a couple other minor infelicities in float.c.)
    86ffdcad
numerology_1.out 3.43 KB