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
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