| -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
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
>
> 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
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
--
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
Or you can just set USE_DOUBLE_PRECISION in options.h if you want to
rebuild hugs.
John
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
> 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