[python] Enable float

Change-Id: I94111dd821fb3a9ef1e22ae5133c3a48285c52d5
This commit is contained in:
Émilie Feral
2017-08-18 11:04:09 +02:00
parent c189876673
commit 818c56bd45
15 changed files with 430 additions and 1 deletions

View File

@@ -24,13 +24,16 @@ Q(AssertionError)
Q(AttributeError)
Q(BaseException)
Q(BufferError)
Q(complex)
Q(EOFError)
Q(Ellipsis)
Q(Exception)
Q(FileExistsError)
Q(FileNotFoundError)
Q(float)
Q(FloatingPointError)
Q(GeneratorExit)
Q(imag)
Q(ImportError)
Q(IndentationError)
Q(IndexError)
@@ -43,6 +46,7 @@ Q(NoneType)
Q(NotImplementedError)
Q(OSError)
Q(OverflowError)
Q(real)
Q(RuntimeError)
Q(StopIteration)
Q(SyntaxError)

View File

@@ -53,7 +53,7 @@
#define MICROPY_MODULE_FROZEN_MPY (0)
#define MICROPY_CPYTHON_COMPAT (0)
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_NONE)
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_NONE)
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT)
// type definitions for the specific machine