Skip to content

Commit 0d6116d

Browse files
committed
py/modmath: Make expm1() be in MICROPY_PY_MATH_SPECIAL_FUNCTIONS.
1 parent 0aff87b commit 0d6116d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

py/modmath.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,10 @@ MATH_FUN_1(sqrt, sqrt)
6565
MATH_FUN_2(pow, pow)
6666
/// \function exp(x)
6767
MATH_FUN_1(exp, exp)
68+
#if MICROPY_PY_MATH_SPECIAL_FUNCTIONS
6869
/// \function expm1(x)
6970
MATH_FUN_1(expm1, expm1)
71+
#endif
7072
/// \function log2(x)
7173
MATH_FUN_1(log2, log2)
7274
/// \function log10(x)

0 commit comments

Comments
 (0)