[Haskell-cafe] Re: Double -> CDouble, realToFrac doesn't work
dpt at lotus.bostoncoop.net
Fri Nov 5 14:48:22 EST 2004
On Fri, Nov 05, 2004 at 02:53:01PM +0000, MR K P SCHUPKE wrote:
> >My guess is because irrationals can't be represented on a discrete computer
> Well, call it arbitrary precision floating point then. Having built in
> Integer support, it does seem odd only having Float/Double/Rational...
There are a number of choices to be made in making such an
implementation. It would be handy, but it makes sense that it's more
than the Haskell designers wanted to specify initially.
It would make a nice library if you want to write it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org//pipermail/haskell-cafe/attachments/20041105/72f6da99/attachment.bin
More information about the Haskell-Cafe