Hello,

With ghc-6.10.4 the following results are produced with numbers 2009.8.9:

(7e-3 :: BigFloat Prec50) < (6e-4 :: BigFloat Prec50)
False

(7e-3 :: BigFloat Prec50) < (8e-4 :: BigFloat Prec50)
True

where in the sourecode is written:
data BigFloat e = BF (Fixed e) Integer deriving (Eq, Ord)

and
import Data.Ratio
newtype Fixed e = F Rational deriving (Eq, Ord, Enum, Real, RealFrac)

H.

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to