RE: doubles

2000-08-11 Thread Julian Seward (Intl Vendor)
| -Original Message- | From: Jan Skibinski [mailto:[EMAIL PROTECTED]] | Sent: Thursday, August 10, 2000 3:11 PM | To: [EMAIL PROTECTED] | Cc: [EMAIL PROTECTED] | Subject: Re: doubles | | | | > | > Aha . And how many digits will GHC offer me? | | I would think that yo

Re: doubles

2000-08-10 Thread Ralf Muschall
Sebastian Schulz <[EMAIL PROTECTED]> writes: > John Peterson wrote: > > Or you can just set USE_DOUBLE_PRECISION in options.h if you want to I did that (to be precise, I had to do it every time when building hugs :-( ). pi::Double is defined by the prelude as primPiDouble, and this seems to be

Re: doubles

2000-08-10 Thread Jan Skibinski
> > Aha . And how many digits will GHC offer me? I would think that you will get the same number of digits as is available for C - unless some bits are reserved for something special, which I am not aware of. For example, in some implementations of Smalltalk the

Re: doubles

2000-08-10 Thread Sebastian Schulz
John Peterson wrote: > > Or you can just set USE_DOUBLE_PRECISION in options.h if you want to > rebuild hugs. > > John Same question as to Jan : how many significant digits will that change give me? regards seb --

Re: doubles

2000-08-10 Thread Sebastian Schulz
Jan Skibinski wrote: > > 1. What you see printed and what is used in internal >computations are two different things. In HUGS I can see 6 digits. How many are used in the intrnal computation? > 2. But Hugs'es Double is the same as Float, anyway. >This use

Re: doubles

2000-08-10 Thread John Peterson
Or you can just set USE_DOUBLE_PRECISION in options.h if you want to rebuild hugs. John

Re: doubles

2000-08-10 Thread Jan Skibinski
On Thu, 10 Aug 2000, Sebastian Schulz wrote: > Hi! > > How can I use Doubles which are more exact than six digits? > For example HUGS gives me : > > >1,23456789 > 1.23457 1. What you see printed and what is used in internal computations are two different things. 2

Re: doubles-troubles

1998-05-12 Thread Simon L Peyton Jones
> rigid and I belong to the small legion of amateurs who implemented their > own math. domain system, Rings, Fields, Modules, etc. This apparently > has no chance to be included into the Haskell standard, nobody cares. Standards develop because people who care about particular aspects of them pu