Author rhettinger
Recipients mark.dickinson, rhettinger, steven.daprano, tim.peters
Date 2021-11-26.21:18:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1637961522.87.0.582073077592.issue45876@roundup.psfhosted.org>
In-reply-to
Content
[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?
History
Date User Action Args
2021-11-26 21:18:42rhettingersetrecipients: + rhettinger, tim.peters, mark.dickinson, steven.daprano
2021-11-26 21:18:42rhettingersetmessageid: <1637961522.87.0.582073077592.issue45876@roundup.psfhosted.org>
2021-11-26 21:18:42rhettingerlinkissue45876 messages
2021-11-26 21:18:42rhettingercreate