diff options
author | Raymond Hettinger <python@rcn.com> | 2002-12-18 16:13:16 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2002-12-18 16:13:16 (GMT) |
commit | 72a6ddb5eedc69c67ffd03f17bc47fe35bca5ff3 (patch) | |
tree | e3e1de69ea72d26e777c3234afb0e32525fa4a3e /Lib | |
parent | ca2623a2f95878d0704ed128f8f6cc15f8b513aa (diff) | |
download | cpython-72a6ddb5eedc69c67ffd03f17bc47fe35bca5ff3.zip cpython-72a6ddb5eedc69c67ffd03f17bc47fe35bca5ff3.tar.gz cpython-72a6ddb5eedc69c67ffd03f17bc47fe35bca5ff3.tar.bz2 |
Expand log() tests to include long integers.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_math.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_math.py b/Lib/test/test_math.py index 8063025..3a6b7fc 100644 --- a/Lib/test/test_math.py +++ b/Lib/test/test_math.py @@ -114,6 +114,8 @@ testit('log(1/e)', math.log(1/math.e), -1) testit('log(1)', math.log(1), 0) testit('log(e)', math.log(math.e), 1) testit('log(32,2)', math.log(32,2), 5) +testit('log(10**40, 10)', math.log(10**40, 10), 40) +testit('log(10**40, 10**20)', math.log(10**40, 10**20), 2) print 'log10' testit('log10(0.1)', math.log10(0.1), -1) |