Message407095
[Tim]
> Note that, on Windows, ldexp() in the presence of
> denorms can truncate. Division rounds, so
>
> assert x / 2**i == ldexp(x, -i)
>
> can fail.
Objects/longobject.c::long_true_divide() uses ldexp() internally. Will it suffer the same issues with subnormals on Windows? Is CPython int/int true division guaranteed to be correctly rounded? |
|
Date |
User |
Action |
Args |
2021-11-26 21:18:42 | rhettinger | set | recipients:
+ rhettinger, tim.peters, mark.dickinson, steven.daprano |
2021-11-26 21:18:42 | rhettinger | set | messageid: <1637961522.87.0.582073077592.issue45876@roundup.psfhosted.org> |
2021-11-26 21:18:42 | rhettinger | link | issue45876 messages |
2021-11-26 21:18:42 | rhettinger | create | |
|