[issue38813] math.modf() change integer returned part as integer instead of float
Raymond Hettinger
report at bugs.python.org
Fri Nov 15 11:31:52 EST 2019
Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:
This is odd. The underlying C library modf() returns an integer for the second part. Likewise the Python math.frexp() function returns an integer for the second part. So, I'm not sure why Python's math.modf() returns a float for the second field.
----------
nosy: +mark.dickinson, rhettinger, tim.peters
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38813>
_______________________________________
More information about the Python-bugs-list
mailing list