[Haskell-cafe] Data.Complex.magnitude slow?

stefan kersten sk at k-hornz.de
Fri Jul 18 06:54:23 EDT 2008


On 17.07.2008, at 21:46, Lennart Augustsson wrote:
> If scaleFloat and exponent are implemented with bit twiddling they can
> be quite fast.

is there a way in ghc to 'cast' between float/int32 and double/int64  
(without going through memory)?

<sk>



More information about the Haskell-Cafe mailing list