patch applied (ghc-7.0/packages/base): Fix typo in floatToDigits

Ian Lynagh igloo at earth.li
Fri Dec 10 14:17:53 CET 2010


Sun Oct 24 11:50:41 PDT 2010  Daniel Fischer <daniel.is.fischer at web.de>
  * Fix typo in floatToDigits
  The mDn value for powers of 2 >= floatDigits x - 1 was typo'ed, leading to longer than necessary show results in a few cases (e.g. 2.0^852).
  Corrected in accordance with Burger and Dybvig's paper.

    M ./GHC/Float.lhs -1 +1

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc-7.0/packages/base;a=darcs_commitdiff;h=20101024185041-a0d69-61d9a961697d43f81c78c0ca05f6adae1bd98351.gz



More information about the Cvs-libraries mailing list