Re: Arbitrary precision reals?

2003-03-26 Thread Alastair Reid
Tom Pledger [EMAIL PROTECTED] wrote: The floating point part of the GNU mp library looks difficult to fit into Haskell's numeric classes, because the type signatures in class Floating don't include a how-much-precision-do-you-want parameter. Fergus Henderson [EMAIL PROTECTED] writes: How

Re: Arbitrary precision reals?

2003-03-26 Thread Nils Anders Danielsson
On Tue, 25 Mar 2003, Tom Pledger wrote: I don't know whether arbitrary precision reals have been done in Haskell, but here's one of the issues... There is a Haskell implementation of exact real arithmetic using Linear Fractional Transformations, see http://www.doc.ic.ac.uk/~ae/exact

Re: Arbitrary precision reals?

2003-03-25 Thread Fergus Henderson
On 25-Mar-2003, Tom Pledger [EMAIL PROTECTED] wrote: The floating point part of the GNU mp library looks difficult to fit into Haskell's numeric classes, because the type signatures in class Floating don't include a how-much-precision-do-you-want parameter. How about using a function type

Arbitrary precision reals?

2003-03-24 Thread Tom Pledger
precision reals have been done in Haskell, but here's one of the issues... The floating point part of the GNU mp library looks difficult to fit into Haskell's numeric classes, because the type signatures in class Floating don't include a how-much-precision-do-you-want parameter. For example