• simonmar's avatar
    [project @ 2003-04-01 09:35:13 by simonmar] · 999f8cf9
    simonmar authored
    Don't constant-fold (negateFloat# 0.0#), because the compiler's
    internal representation of floating-point literals (Rational) can't
    represent -0.0.  This means that
    
       main = print (-0.0)
    
    now gives the same results with -O as it does without.
    
    Fixes test arith005.
    999f8cf9