diff options
author | Damien George <damien.p.george@gmail.com> | 2015-06-13 21:56:23 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-06-13 22:35:25 +0100 |
commit | 6f4952004207a249a437dc822c5252422f63cc69 (patch) | |
tree | 7ed65eb4ca21cbcc9e18b1a071e662d2201e495a /tests/float/math_fun.py | |
parent | 05c6fbcae6188d0526a7148e6b8477d17ff72e25 (diff) | |
download | micropython-6f4952004207a249a437dc822c5252422f63cc69.tar.gz micropython-6f4952004207a249a437dc822c5252422f63cc69.zip |
py: Implement second arg for math.log (optional value for base).
Diffstat (limited to 'tests/float/math_fun.py')
-rw-r--r-- | tests/float/math_fun.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/float/math_fun.py b/tests/float/math_fun.py index 16aec76f92..94411a36bd 100644 --- a/tests/float/math_fun.py +++ b/tests/float/math_fun.py @@ -59,6 +59,7 @@ binary_functions = [('copysign', copysign, [(23., 42.), (-23., 42.), (23., -42.) ('atan2', atan2, ((1., 0.), (0., 1.), (2., 0.5), (-3., 5.), (-3., -4.),)), ('fmod', fmod, ((1., 1.), (0., 1.), (2., 0.5), (-3., 5.), (-3., -4.),)), ('ldexp', ldexp, ((1., 0), (0., 1), (2., 2), (3., -2), (-3., -4),)), + ('log', log, ((2., 2.), (3., 2.), (4., 5.))), ] for function_name, function, test_vals in binary_functions: |