Message409152
If we wanted to make a change, I think the part of the docs that I'd target would be this sentence:
> a floating point number with the same value (within Python’s floating point precision) is returned
It's that "same value (within Python's floating point precision)" bit that I'd consider changing. We could consider replacing it with something along the lines that "an integer argument is rounded to the nearest float", possibly with an additional note that under the assumption of IEEE 754 binary64 format, we follow the usual IEEE 754 rules. |
|
Date |
User |
Action |
Args |
2021-12-24 17:15:57 | mark.dickinson | set | recipients:
+ mark.dickinson, steven.daprano, cykerway |
2021-12-24 17:15:57 | mark.dickinson | set | messageid: <1640366157.9.0.00740327508204.issue46173@roundup.psfhosted.org> |
2021-12-24 17:15:57 | mark.dickinson | link | issue46173 messages |
2021-12-24 17:15:57 | mark.dickinson | create | |
|