[issue26680] Incorporating float.is_integer into the numeric tower and Decimal
Stefan Krah
report at bugs.python.org
Thu Mar 15 07:33:09 EDT 2018
Stefan Krah <stefan at bytereef.org> added the comment:
In effect:
"!(Py_IS_FINITE(dx) && dx == floor(dx))"
I don't understand why Robert is questioned so much. mpd_as_integer() (or rather the optimized version _mpd_isint() is used all over the place inside libmpdec's own numeric code.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue26680>
_______________________________________
More information about the Python-bugs-list
mailing list