A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/098392.html below:

Floating point (in)accuracy?

Floating point (in)accuracy? Floating point (in)accuracy?Grant Edwards grante at visi.com
Wed Apr 25 16:48:29 EDT 2001
In article <mailman.988227064.4196.python-list at python.org>, Tim Peters wrote:
>[Grant Edwards]
>> I presume that on typical platforms, it can't be guaranteed
>> that float(repr(x)) == x.
>
>On IEEE-754 platforms whose C I/O libraries meet the minimal IEEE-754
>accuracy requirements for float<->string conversions, it is in fact
>guaranteed that
>
>    float(repr(x)) == x

It certainly seems to be true on RH6.2 on an AMD K6-2. The
level of compliance in Unix systems' floating point support 
seems to have improved a lot in the last 10 years.

-- 
Grant Edwards                   grante             Yow!  My NOSE is NUMB!
                                  at               
                               visi.com            

More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4