py/modmath: Add math.tau, math.nan and math.inf constants.

Configurable by the new MICROPY_PY_MATH_CONSTANTS option.
This commit is contained in:
stijn
2019-11-20 13:38:33 +01:00
committed by Damien George
parent e0b8d69827
commit dd6967202a
9 changed files with 79 additions and 0 deletions

View File

@@ -48,6 +48,7 @@
#define MICROPY_PY_BUILTINS_HELP (1)
#define MICROPY_PY_BUILTINS_HELP_MODULES (1)
#define MICROPY_PY_SYS_GETSIZEOF (1)
#define MICROPY_PY_MATH_CONSTANTS (1)
#define MICROPY_PY_MATH_FACTORIAL (1)
#define MICROPY_PY_URANDOM_EXTRA_FUNCS (1)
#define MICROPY_PY_IO_BUFFEREDWRITER (1)

View File

@@ -33,6 +33,7 @@
#define MICROPY_PY_BUILTINS_HELP (1)
#define MICROPY_PY_BUILTINS_HELP_MODULES (1)
#define MICROPY_PY_MATH_CONSTANTS (1)
#define MICROPY_PY_SYS_SETTRACE (1)
#define MICROPY_PY_UOS_VFS (1)
#define MICROPY_PY_URANDOM_EXTRA_FUNCS (1)