diff options
author | David Goodger <goodger@python.org> | 2009-01-31 22:53:46 (GMT) |
---|---|---|
committer | David Goodger <goodger@python.org> | 2009-01-31 22:53:46 (GMT) |
commit | a528dc507caab7b549ec7b6a8f84c2a76dd6c1c7 (patch) | |
tree | d1669895957030b8b37e18246718858f6c70f189 /Doc/tutorial | |
parent | 1c5d21d644bf74551f4d4cb33d74cedbfc69d61c (diff) | |
download | cpython-a528dc507caab7b549ec7b6a8f84c2a76dd6c1c7.zip cpython-a528dc507caab7b549ec7b6a8f84c2a76dd6c1c7.tar.gz cpython-a528dc507caab7b549ec7b6a8f84c2a76dd6c1c7.tar.bz2 |
markup fix
Diffstat (limited to 'Doc/tutorial')
-rw-r--r-- | Doc/tutorial/floatingpoint.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/floatingpoint.rst b/Doc/tutorial/floatingpoint.rst index 6913c46..cb3009b 100644 --- a/Doc/tutorial/floatingpoint.rst +++ b/Doc/tutorial/floatingpoint.rst @@ -157,7 +157,7 @@ Why is that? 1/10 is not exactly representable as a binary fraction. Almost all 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) |