On Fri, 18 Jul 2008, stefan kersten wrote:

for implementing scaleFloat and exponent on the bitlevel as lennart suggested, it would be preferable if the cast would be compiled to a register move/reinterpretation, rather than a store/load through several layers of abstraction (such as Data.Binary). i'm just curious ;)

Ok, but then you need a check, whether the numbers on your machine are in IEEE format. This check could be done when configuring 'base' package. The current implementation in GHC.Float could be used as fall-back.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to