RealFrac methods for Double and Float
Tyson Whitehead
twhitehead at gmail.com
Tue Oct 12 11:02:30 EDT 2010
On October 11, 2010 15:12:12 Daniel Fischer wrote:
> GHC's new code generator does some incredible stuff with the code for
> Float's RealFrac instance, properFraction has become about _seven times_
> faster, floor and ceiling about _thirteen times_ and round about _10.5
> times_ (values for my box, the exact numbers will differ, but the tendency
> will be the same).
Out of curiosity, by new code generator, are you meaning just the stock GHC 7
code path or are you meaning the new now available but disabled by default
unless you use some flag (which I forget right now) code generation path.
Cheers! -Tyson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://www.haskell.org/pipermail/libraries/attachments/20101012/9de88690/attachment.bin
More information about the Libraries
mailing list