Mercurial > cpython-lru_cache-weakref
diff Doc/tutorial/floatingpoint.rst @ 56796:47e2c14b1503 2.6
Merged revisions 69131,69140-69141,69155 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69131 | andrew.kuchling | 2009-01-31 04:26:02 +0100 (Sa, 31 Jan 2009) | 1 line
Text edits and markup fixes
........
r69140 | benjamin.peterson | 2009-01-31 17:52:03 +0100 (Sa, 31 Jan 2009) | 1 line
PyErr_BadInternalCall() raises a SystemError, not TypeError #5112
........
r69141 | benjamin.peterson | 2009-01-31 21:01:48 +0100 (Sa, 31 Jan 2009) | 1 line
fix indentation
........
r69155 | david.goodger | 2009-01-31 23:53:46 +0100 (Sa, 31 Jan 2009) | 1 line
markup fix
........
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Tue, 27 Oct 2009 13:28:11 +0000 |
| parents | 74c0a78114ae |
| children | b36cb4602e21 |
line wrap: on
line diff
--- a/Doc/tutorial/floatingpoint.rst Tue Oct 27 13:25:31 2009 +0000 +++ b/Doc/tutorial/floatingpoint.rst Tue Oct 27 13:28:11 2009 +0000 @@ -157,7 +157,7 @@ machines today (November 2000) use IEEE-754 floating point arithmetic, and almost all platforms map Python floats to IEEE-754 "double precision". 754 doubles contain 53 bits of precision, so on input the computer strives to -convert 0.1 to the closest fraction it can of the form *J*/2\*\**N* where *J* is +convert 0.1 to the closest fraction it can of the form *J*/2**\ *N* where *J* is an integer containing exactly 53 bits. Rewriting :: 1 / 10 ~= J / (2**N)
