Message409150
IEEE 754, 7.4 Overflow:
> The overflow exception shall be signaled if and only if the destination format’s largest finite number is exceeded in magnitude by what would have been the rounded floating-point result (see 4) were the exponent range unbounded...
Were this the basis of the float implementation, not raising an overflow exception seems to be the correct behavior? Then this is not a bug, but the python float doc might better say "If the *rounded* argument is outside..." |
|
Date |
User |
Action |
Args |
2021-12-24 16:33:42 | cykerway | set | recipients:
+ cykerway, mark.dickinson, steven.daprano |
2021-12-24 16:33:42 | cykerway | set | messageid: <1640363622.48.0.411992901273.issue46173@roundup.psfhosted.org> |
2021-12-24 16:33:42 | cykerway | link | issue46173 messages |
2021-12-24 16:33:42 | cykerway | create | |
|