From: David Goodger Date: Sat, 31 Jan 2009 22:53:46 +0000 (+0000) Subject: markup fix X-Git-Tag: v2.7a1~2151 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a528dc507caab7b549ec7b6a8f84c2a76dd6c1c7;p=python markup fix --- diff --git a/Doc/tutorial/floatingpoint.rst b/Doc/tutorial/floatingpoint.rst index 6913c46b79..cb3009b45f 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)