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 | zbysz |
|---|---|
| Recipients | docs@python, zbysz |
| Date | 2012年03月10日.09:35:11 |
| SpamBayes Score | 0.0025668114 |
| Marked as misclassified | No |
| Message-id | <1331372112.92.0.532785259032.issue14245@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
http://docs.python.org/dev/faq/design.html#why-are-floating-point-calculations-so-inaccurate This whole paragraph is wrong since #9337 (Make float.__str__ behave identically to float.__repr__). """ The str() function prints fewer digits and this often results in the more sensible number that was probably intended: >>> 1.1 - 0.9 0.20000000000000007 >>> print(1.1 - 0.9) 0.2 """ Applies from 3.2 onwards. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012年03月10日 09:35:13 | zbysz | set | recipients: + zbysz, docs@python |
| 2012年03月10日 09:35:12 | zbysz | set | messageid: <1331372112.92.0.532785259032.issue14245@psf.upfronthosting.co.za> |
| 2012年03月10日 09:35:12 | zbysz | link | issue14245 messages |
| 2012年03月10日 09:35:11 | zbysz | create | |