py: Add cmath module, for complex math. Disabled by default.

Not all functions implemented.  Not enabled on pyboard.
This commit is contained in:
Damien George
2014-04-17 17:11:03 +01:00
parent fb06bfc11c
commit dbdfee15a1
8 changed files with 161 additions and 5 deletions

View File

@@ -48,6 +48,7 @@ extern const mp_obj_module_t mp_module_array;
extern const mp_obj_module_t mp_module_collections;
extern const mp_obj_module_t mp_module_io;
extern const mp_obj_module_t mp_module_math;
extern const mp_obj_module_t mp_module_cmath;
extern const mp_obj_module_t mp_module_micropython;
extern const mp_obj_module_t mp_module_struct;
extern const mp_obj_module_t mp_module_sys;