Raymond Hettinger <[email protected]> added the comment:
[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? ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue45876> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
