I've noticed that the value of math.pi -- just entering it at the interactive 
prompt -- is returned as 3.1415926535897931, whereas (as every pi-obsessive 
knows) the value is 3.1415926535897932... (Note the 2 at the end.)
 
Is this a precision issue, or from the underlying C, or something else? How is 
math.pi calculated?
 
I searched for this on the web and in this group and couldn't find anything -- 
but humble apologies if this has been asked before/elsewhere.
 
Sam Dutton
 





SAM DUTTON
SENIOR SITE DEVELOPER

200 GRAY'S INN ROAD
LONDON
WC1X 8XZ
UNITED KINGDOM
T +44 (0)20 7430 4496
F 
E [EMAIL PROTECTED]
WWW.ITN.CO.UK

P  Please consider the environment. Do you really need to print this email?
Please Note:

 

Any views or opinions are solely those of the author and do not necessarily 
represent 
those of Independent Television News Limited unless specifically stated. 
This email and any files attached are confidential and intended solely for the 
use of the individual
or entity to which they are addressed. 
If you have received this email in error, please notify [EMAIL PROTECTED] 

Please note that to ensure regulatory compliance and for the protection of our 
clients and business,
we may monitor and read messages sent to and from our systems.

Thank You.

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to