diff options
author | Damien George <damien.p.george@gmail.com> | 2015-11-17 14:10:13 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-11-17 14:10:13 +0000 |
commit | a24eafacc9653232087bde15fb86bf86cb44cb06 (patch) | |
tree | 02db9c888ad741064d48a80740d309eb0211ccc4 /py/qstrdefs.h | |
parent | 2c838942574a4970c922d1550f04e4b7b4d865a6 (diff) |
py/modmath: Make log2, log10 and hyperbolic funcs be SPECIAL_FUNCTIONS.
Will be included only when MICROPY_PY_MATH_SPECIAL_FUNCTIONS is enabled.
Also covers cmath module (but only log10 is there at the moment).
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r-- | py/qstrdefs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h index e91cfa89c..99304a997 100644 --- a/py/qstrdefs.h +++ b/py/qstrdefs.h @@ -370,8 +370,11 @@ Q(pi) Q(sqrt) Q(pow) Q(exp) +#if MICROPY_PY_MATH_SPECIAL_FUNCTIONS Q(expm1) +#endif Q(log) +#if MICROPY_PY_MATH_SPECIAL_FUNCTIONS Q(log2) Q(log10) Q(cosh) @@ -380,6 +383,7 @@ Q(tanh) Q(acosh) Q(asinh) Q(atanh) +#endif Q(cos) Q(sin) Q(tan) |