Created on 2009-12-10 11:55 by r.david.murray, last changed 2009-12-12 14:26 by r.david.murray.
| Messages (3) | |||
|---|---|---|---|
| msg96200 - (view) | Author: R. David Murray (r.david.murray) * ![]() |
Date: 2009-12-10 11:55 | |
See http://docs.python.org/dev/faq/design.html#why-are-floating-point-calculations-so-inaccurate. The 3.1 version is the same, so it also needs to be updated. The entry links to the tutorial, which has the correct information for 3.1/3.2, but not for trunk. |
|||
| msg96290 - (view) | Author: Mark Dickinson (mark.dickinson) * ![]() |
Date: 2009-12-12 11:38 | |
Is there anything actually *wrong* with that FAQ section? I'm not sure how mentioning short float repr would address any particular FAQ. Unless that FAQ is "why do 2.6 and 2.7 give different results?". I agree that the tutorial section for trunk needs updating. I also notice that the FAQs for py3k need to be looked at closely: there are a lot of print statements in there, and doubtless some other 2.x-isms. |
|||
| msg96292 - (view) | Author: R. David Murray (r.david.murray) * ![]() |
Date: 2009-12-12 14:26 | |
No, you are right, there's nothing actually inaccurate. It might be good for it to say, about repr, that it prints the "minimum number of digits necessary", which is what is different from the old behavior. But I agree that it doesn't *have* to change. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2009-12-12 14:26:53 | r.david.murray | set | messages: + msg96292 |
| 2009-12-12 11:38:38 | mark.dickinson | set | messages: + msg96290 |
| 2009-12-10 11:55:41 | r.david.murray | create | |