Dnia czw 21. sierpnia 2003 22:30, Konrad Hinsen napisał:
> k_B = 0.0083144708636327096
>
> The trouble is that k_B then becomes "Double" by default (or any other
> type I declare it to be).
Declare it as
k_B :: Fractional a => a
Performance may suffer even in GHC if optimization is turned off.
BTW, Hugs incorrectly converts such numbers through Double which it
represents as C float.
--
__("< Marcin Kowalczyk
\__/ [EMAIL PROTECTED]
^^ http://qrnik.knm.org.pl/~qrczak/
_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe