Message246317
| Author | mark.dickinson |
|---|---|
| Recipients | Serge Anuchin, mark.dickinson, r.david.murray, rhettinger, serhiy.storchaka, skrah, steven.daprano, tim.peters, vstinner |
| Date | 2015-07-05.14:28:29 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1436106509.39.0.274516332665.issue24567@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Note that this affects other Random methods, too. There are several places in the source where something of the form `int(i * random.random())` is used to select an integer in the half-open range [0, i). And a nitpick: it's a stretch to describe double-rounding on multiplication (or any other arithmetic operation) as a bug: Python-the-language makes no promises about adhering to IEEE 754 arithmetic rule. (In fact, it makes no promises about using IEEE 745 formats in the first place.) |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2015-07-05 14:28:29 | mark.dickinson | set | recipients: + mark.dickinson, tim.peters, rhettinger, vstinner, steven.daprano, r.david.murray, skrah, serhiy.storchaka, Serge Anuchin |
| 2015-07-05 14:28:29 | mark.dickinson | set | messageid: <1436106509.39.0.274516332665.issue24567@psf.upfronthosting.co.za> |
| 2015-07-05 14:28:29 | mark.dickinson | link | issue24567 messages |
| 2015-07-05 14:28:29 | mark.dickinson | create | |