Raymond Hettinger <[email protected]> added the comment:
> Any principled change costs more than it's worth :-(
For anyone wanting to go forward with this, here's a summary of the feature
request:
Given two non-zero same signed integers x and y,
log10(Fraction(x, y)) does the same as log10(x / y).
This works well unless the ratio of x to y is outside
the range supported by floats.
What is desired is that for extreme values of x and y,
that log10() will treat the fraction differently and
compute log10(x) - log10(y) instead of log10(x / y).
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue42886>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com