py/modmath: Make expm1() be in MICROPY_PY_MATH_SPECIAL_FUNCTIONS.
This commit is contained in:
parent
0aff87b808
commit
0d6116d86b
@ -65,8 +65,10 @@ MATH_FUN_1(sqrt, sqrt)
|
|||||||
MATH_FUN_2(pow, pow)
|
MATH_FUN_2(pow, pow)
|
||||||
/// \function exp(x)
|
/// \function exp(x)
|
||||||
MATH_FUN_1(exp, exp)
|
MATH_FUN_1(exp, exp)
|
||||||
|
#if MICROPY_PY_MATH_SPECIAL_FUNCTIONS
|
||||||
/// \function expm1(x)
|
/// \function expm1(x)
|
||||||
MATH_FUN_1(expm1, expm1)
|
MATH_FUN_1(expm1, expm1)
|
||||||
|
#endif
|
||||||
/// \function log2(x)
|
/// \function log2(x)
|
||||||
MATH_FUN_1(log2, log2)
|
MATH_FUN_1(log2, log2)
|
||||||
/// \function log10(x)
|
/// \function log10(x)
|
||||||
|
Loading…
Reference in New Issue
Block a user