[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Floating point problem?
it's not a floating point problem, it's a reader problem caused by
insufficient integer precision in str-to-num. perhaps it's time to add
bignum support. i'll get right on that. it turns out that james
knight has already written a gmp based bignum module for goo.
jonathan
On Thursday, October 23, 2003, at 06:05 PM, Chris Double wrote:
> In goo 0_154, entering the following floating point number returns a
> different number:
>
> goo/user 0<= 3.1415926535
> goo/user 0=> 0.8248414
>
> It seems to depend on the length of the number entered.
>
> Chris.
> --
> Chris Double
> chris.double@double.co.nz
>
>