lua-users home
lua-l archive

Re: Floating point inaccuracies

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


>>
>> How many people think 0.9999... = 1?
>>
>
> It is. It would be nice if the computer could recognize that.
>
It can with the right libs:
http://gmplib.org/
http://www.mpfr.org/
Obviously the naive approach doesn't work so it's not really worth
complaining about it and just throwing up your hands.

AltStyle によって変換されたページ (->オリジナル) /