summaryrefslogtreecommitdiffstatshomepage
path: root/py/qstrdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r--py/qstrdefs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h
index e91cfa89c1..99304a9976 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)