patch applied (packages/base): FIX #2271

Ian Lynagh 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.
  Fixes #2271.
  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.

    A ./GHC/Float/
    M ./GHC/Float.lhs -36 +37
    A ./GHC/Float/RealFracMethods.hs
    M ./base.cabal +1
    M ./cbits/primFloat.c -9 +260

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=packages/base;a=darcs_commitdiff;h=20101018210337-a0d69-f3a00fa29af394149ec08c2714147a8adb76d317.gz



More information about the Cvs-libraries mailing list