[Haskell-cafe] Haskell version of ray tracer code is much slower than the original ML

Mark T.B. Carroll mark at ixod.org
Thu Jun 21 15:29:17 EDT 2007


Philip Armstrong <phil at kantaka.co.uk> writes:
(snip)
> Why on earth would you use -fexcess-precision if you're using Floats?
> The excess precision only apples to Doubles held in registers on x86
> IIRC. (If you spill a Double from a register to memory, then you lose
> the extra precision bits in the process).

Some googling suggests that point 2 on
http://www.haskell.org/hawiki/FasterFloatingPointWithGhc
might have been what I was thinking of.

-- Mark



More information about the Haskell-Cafe mailing list