
I believe enough discussions took place on this topic, and we all seem to
be in agreement that the behavior should be fixed. Encouraged by Simon's
earlier note, here's the ticket I filed:
http://hackage.haskell.org/trac/ghc/ticket/7858
Thanks to everyone for taking the time and contributing!
-Levent.
On Mon, Apr 22, 2013 at 4:25 AM, Simon Peyton-Jones
| >
wrote: | > > Also | > > | > > abs x | > > | > > | x < 0 = negate x | > > | otherwise = x | > > | > > keeps the number of tests at one. | > | > This gives the wrong result for -0.0 (which is compare-equal to +0.0). | > | > Shachaf I'm very happy to see all this activity on making GHC's numerics better. For this particular thread, would someone like to create a ticket?
My list of numeric infelicities is under "Better numerics" on http://hackage.haskell.org/trac/ghc/wiki/Status/SLPJ-Tickets
If any of you feel able to make progress on these things, it'd be great.
Simon
_______________________________________________ Libraries mailing list Libraries@haskell.org http://www.haskell.org/mailman/listinfo/libraries