patch applied (packages/base): FIX #2271
igloo at earth.li
Thu Mar 10 03:28:50 CET 2011
Mon Oct 18 14:03:37 PDT 2010 Daniel Fischer <daniel.is.fischer at web.de>
* FIX #2271
Faster rounding functions for Double and float with Int or Integer results.
Since some glibc's have buggy rintf or rint functions and the behaviour of
these functions depends on the setting of the rounding mode, we provide our
own implementations which always round ties to even.
Also added rewrite rules and removed trailing whitespace.
M ./GHC/Float.lhs -36 +37
M ./base.cabal +1
M ./cbits/primFloat.c -9 +260
View patch online:
More information about the Cvs-libraries