Message150814
| Author |
zacherates |
| Recipients |
docs@python, zacherates |
| Date |
2012年01月07日.19:16:45 |
| SpamBayes Score |
0.010031886 |
| Marked as misclassified |
No |
| Message-id |
<1325963806.67.0.168164997308.issue13731@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The paragraph: "The exactness carries over into arithmetic. In decimal floating point, 0.1 + 0.1 + 0.1 - 0.3 is exactly equal to zero. In binary floating point, the result is 5.5511151231257827e-017. While near to zero, the differences prevent reliable equality testing and differences can accumulate. For this reason, decimal is preferred in accounting applications which have strict equality invariants."
... has some awkward phrasing to my ear. I've attached a patch with a proposed alternative. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年01月07日 19:16:46 | zacherates | set | recipients:
+ zacherates, docs@python |
| 2012年01月07日 19:16:46 | zacherates | set | messageid: <1325963806.67.0.168164997308.issue13731@psf.upfronthosting.co.za> |
| 2012年01月07日 19:16:46 | zacherates | link | issue13731 messages |
| 2012年01月07日 19:16:46 | zacherates | create |
|