Re: [Haskell-cafe] Re: Double -> CDouble, realToFrac doesn't work

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... Keean. ..

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. Peace, Dylan
participants (2)
-
dpt@lotus.bostoncoop.net
-
MR K P SCHUPKE