mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
gh-89381: Fix invalid signatures of math/cmath.log (#101404)
This commit is contained in:
parent
666c0840dc
commit
0ef92d9793
8 changed files with 42 additions and 47 deletions
|
@ -1146,6 +1146,7 @@ class MathTests(unittest.TestCase):
|
|||
self.ftest('log(1/e)', math.log(1/math.e), -1)
|
||||
self.ftest('log(1)', math.log(1), 0)
|
||||
self.ftest('log(e)', math.log(math.e), 1)
|
||||
self.ftest('log(e, None)', math.log(math.e, None), 1)
|
||||
self.ftest('log(32,2)', math.log(32,2), 5)
|
||||
self.ftest('log(10**40, 10)', math.log(10**40, 10), 40)
|
||||
self.ftest('log(10**40, 10**20)', math.log(10**40, 10**20), 2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue