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
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to