mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[python] Enable math.factorial (#141)
This commit is contained in:
@@ -181,6 +181,7 @@ Q(exp)
|
||||
Q(expm1)
|
||||
Q(extend)
|
||||
Q(fabs)
|
||||
Q(factorial)
|
||||
Q(filter)
|
||||
Q(find)
|
||||
Q(float)
|
||||
|
||||
@@ -82,6 +82,12 @@
|
||||
// Whether to provide special math functions: math.{erf,erfc,gamma,lgamma}
|
||||
#define MICROPY_PY_MATH_SPECIAL_FUNCTIONS (1)
|
||||
|
||||
// Whether to provide math.factorial function
|
||||
#define MICROPY_PY_MATH_FACTORIAL (1)
|
||||
|
||||
// Whether math.factorial is large, fast and recursive (1) or small and slow (0).
|
||||
#define MICROPY_OPT_MATH_FACTORIAL (0)
|
||||
|
||||
// Whether to provide "cmath" module
|
||||
#define MICROPY_PY_CMATH (1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user