mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
py: Make math special functions configurable and disabled by default.
The implementation of these functions is very large (order 4k) and they are rarely used, so we don't enable them by default. They are however enabled in stmhal and unix, since we have the room.
This commit is contained in:
@@ -363,11 +363,13 @@ Q(frexp)
|
||||
Q(ldexp)
|
||||
Q(degrees)
|
||||
Q(radians)
|
||||
#if MICROPY_PY_MATH_SPECIAL_FUNCTIONS
|
||||
Q(erf)
|
||||
Q(erfc)
|
||||
Q(gamma)
|
||||
Q(lgamma)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if MICROPY_PY_CMATH
|
||||
Q(cmath)
|
||||
|
||||
Reference in New Issue
Block a user