Faster, GHC, and floating point.
jyp_7 at yahoo.com
Sat Oct 18 05:32:06 EDT 2003
--- ajb at spamcop.net wrote:
> Quoting JP Bernardy <jyp_7 at yahoo.com>:
> > 1. Use -fexcess-precision, unless you really need
> > exact (lesser) precision. Otherwise each
> > result is spilled in memory. This hurts!
> Yes, but it does avoid incorrect numerics, which
> hurts fewer times, but
> when it does, it hurts a LOT more. :-)
With an SSE processor, it is possible to have both
speed and exact precision, passing
-optc-march=pentium4 -optc-mfpmath=sse to ghc, in
addition to -fexcess-precision.
BTW, as requested, I've contributed a page about this
to the haskell wiki.
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
More information about the Glasgow-haskell-users