[Haskell-cafe] Haskell version of ray tracer code is much
slower than the original ML
phil at kantaka.co.uk
Thu Jun 21 14:32:15 EDT 2007
On Thu, Jun 21, 2007 at 08:15:36PM +0200, peterv wrote:
>So float math in *slower* than double math in Haskell? That is interesting.
>Why is that?
>BTW, does Haskell support 80-bit "long double"s? The Intel CPU seems to use
>that format internally.
As I understand things, that is the effect of using -fexcess-precision.
Obviously this means that the behaviour of your program can change
with seemingly trivial code rearrangements, but if you're messing with
floating point numbers then you ought to know what you're doing anyway.
http://www.kantaka.co.uk/ .oOo. public key: http://www.kantaka.co.uk/gpg.txt
More information about the Haskell-Cafe