homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients TanaT, mark.dickinson
Date 2008年07月15日.16:19:19
SpamBayes Score 0.00031342183
Marked as misclassified No
Message-id <1216138761.26.0.652777011843.issue3365@psf.upfronthosting.co.za>
In-reply-to
Content
This is not a bug (though it's commonly reported as such :-) ). Given 
that not all real numbers can be represented as floats, math.pi is 
necessarily an approximation to true Pi, and you're
printing that approximation out to high precision.
No, pi isn't computed in Python; it's a constant, stored as an IEEE 754 
double.
History
Date User Action Args
2008年07月15日 16:19:21mark.dickinsonsetspambayes_score: 0.000313422 -> 0.00031342183
recipients: + mark.dickinson, TanaT
2008年07月15日 16:19:21mark.dickinsonsetspambayes_score: 0.000313422 -> 0.000313422
messageid: <1216138761.26.0.652777011843.issue3365@psf.upfronthosting.co.za>
2008年07月15日 16:19:20mark.dickinsonlinkissue3365 messages
2008年07月15日 16:19:20mark.dickinsoncreate

AltStyle によって変換されたページ (->オリジナル) /