[Haskell-cafe] Why aren't Float and Double Bounded?

Yitzchak Gale gale at sefer.org
Tue Nov 27 16:15:25 EST 2007


Bit Connor wrote:
> Also, a related question: How do you convert from Float -> Double, and
> the reverse? Only thing I could find is (fromRational . toRational)
> which I also imagine to be slow, and I also wonder about accuracy.

realToFrac

-Yitz


More information about the Haskell-Cafe mailing list