[Haskell-cafe] Why aren't Float and Double Bounded?
Henning Thielemann
lemming at henning-thielemann.de
Tue Nov 27 16:27:14 EST 2007
On Tue, 27 Nov 2007, Yitzchak Gale wrote:
> 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
added to
http://www.haskell.org/haskellwiki/Converting_numbers
More information about the Haskell-Cafe
mailing list