Fix typo in floatToDigits
authorDaniel Fischer <daniel.is.fischer@web.de>
Sun, 24 Oct 2010 18:50:41 +0000 (18:50 +0000)
committerDaniel Fischer <daniel.is.fischer@web.de>
Sun, 24 Oct 2010 18:50:41 +0000 (18:50 +0000)
commita84ff424662be50dd8e704f0acc60222fc5c937c
treebcc2bb95eb67b96c787138e16273b55ea89a27af
parenta08bde2941df4518fe2377920804404903a7daa8
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.
GHC/Float.lhs