[docs] bug in documentation

Georg Brandl georg at python.org
Sun Oct 6 09:04:31 CEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 18.09.2013 08:46, schrieb Rajesh Panigrahi:
> Hello Team, There need a small correction in documentation page for
> 
> "14. Floating Point Arithmetic: Issues and Limitations"
> 
> 
> Issue Description:- It has been written 0/2 + 0/4 + 1/8 = 0.001.
> 
> Expected :- The mathematical calculation should be written as 0.125.
> 
> Due to some problem i am not able to attach the screen shot.

Hi Rajesh,

the "0.001" here is a *binary* fraction, not a decimal fraction.  (It is
stated in the next sentence that the two example fractions are of the
same value.)  Therefore the documentation is correct.

cheers,
Georg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (GNU/Linux)

iEYEARECAAYFAlJRC38ACgkQN9GcIYhpnLAo8gCeKcDF4WWGkvFp3phyyZ4H+fmU
XNMAn1a97h7UDWcvxx3VhAF9dNpRfGM2
=wvQD
-----END PGP SIGNATURE-----


More information about the docs mailing list