diff options
author | Damien George <damien.p.george@gmail.com> | 2014-04-17 17:11:03 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-04-17 17:11:03 +0100 |
commit | dbdfee15a1839858b4d12f352b2e34597e6e76e9 (patch) | |
tree | db3d1cae2a4b3c3bdc825a226b818d728100fe8d /py/qstrdefs.h | |
parent | fb06bfc11ccc2506d27e3f53750771d5c737df2e (diff) |
py: Add cmath module, for complex math. Disabled by default.
Not all functions implemented. Not enabled on pyboard.
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r-- | py/qstrdefs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h index 20c4db75f..a4df86fda 100644 --- a/py/qstrdefs.h +++ b/py/qstrdefs.h @@ -217,6 +217,7 @@ Q(iterator) Q(module) Q(slice) +#if MICROPY_ENABLE_MOD_MATH || MICROPY_ENABLE_MOD_CMATH Q(math) Q(e) Q(pi) @@ -258,6 +259,14 @@ Q(erf) Q(erfc) Q(gamma) Q(lgamma) +#endif + +#if MICROPY_ENABLE_MOD_CMATH +Q(cmath) +Q(phase) +Q(polar) +Q(rect) +#endif Q(mem_total) Q(mem_current) |