cvs commit: fptools/libraries/base/GHC Float.lhs
Simon Marlow
simonmar at haskell.org
Mon Jun 27 09:56:33 EDT 2005
simonmar 2005/06/27 06:56:32 PDT
Modified files:
libraries/base/GHC Float.lhs
Log:
Fix performance buglet: small Float literals weren't being simplified
enough because the fromInteger method is defined in terms of
encodeFloat, which itself is an FFI call. Double was already fixed,
this change does the right thing for Float too.
Revision Changes Path
1.16 +7 -4 fptools/libraries/base/GHC/Float.lhs
More information about the Cvs-libraries
mailing list