py: Separate MICROPY_PY_BUILTINS_COMPLEX from MICROPY_PY_BUILTINS_FLOAT.

One thing is wanting to do 1 / 2 and get something else but 0, and quite
another - doing rocket science ;-).
This commit is contained in:
Paul Sokolovsky
2014-06-20 01:48:35 +03:00
parent 7efbd325bb
commit 3b6f7b95eb
9 changed files with 24 additions and 3 deletions

View File

@@ -36,7 +36,7 @@
#include "runtime0.h"
#include "runtime.h"
#if MICROPY_PY_BUILTINS_FLOAT
#if MICROPY_PY_BUILTINS_COMPLEX
#include <math.h>