Performance enchancement for floatToDigits
authorDaniel Fischer <daniel.is.fischer@web.de>
Sun, 24 Oct 2010 18:59:14 +0000 (18:59 +0000)
committerDaniel Fischer <daniel.is.fischer@web.de>
Sun, 24 Oct 2010 18:59:14 +0000 (18:59 +0000)
commita08bde2941df4518fe2377920804404903a7daa8
tree70805db44210d50b742d6023f67dbff7916bd475
parenta74057e4233a776f0a075fd68103cd5a2fbf9b19
Performance enchancement for floatToDigits
Use quot and quotRem instead of div and divMod for dividing positive Integers since that is a bit faster.
GHC/Float.lhs