[issue45348] math.log(243, 3) value issue

2021-10-02 Thread Eddie Caraballo
Eddie Caraballo added the comment: Issue seems to be with all power of 3 divisible by 5 (3**5, 3**10, etc). Powers of 7 also seem to have the issue, where math.log(7**5, 7) = 5.01 -- ___ Python tracker <https://bugs.python.org/issue45

[issue45348] math.log(243, 3) value issue

2021-10-02 Thread Eddie Caraballo
New submission from Eddie Caraballo : math.log(243, 3) should result in 5.0, but instead results in 4.... Can be worked around via base conversion (math.log10(243) / math.log10(3)) -- components: Library (Lib) messages: 403065 nosy: eddiemichaelc priority: normal severity: normal