kopia lustrzana https://github.com/micropython/micropython
unix/variants: Don't use native _Float16 type.
Using it increases code size by about 2k. Signed-off-by: Damien George <damien@micropython.org>pull/12799/head
rodzic
0c800cefea
commit
b80607ecaf
|
@ -41,6 +41,11 @@
|
||||||
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_DOUBLE)
|
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_DOUBLE)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Don't use native _Float16 because it increases code size by a lot.
|
||||||
|
#ifndef MICROPY_FLOAT_USE_NATIVE_FLT16
|
||||||
|
#define MICROPY_FLOAT_USE_NATIVE_FLT16 (0)
|
||||||
|
#endif
|
||||||
|
|
||||||
// Enable arbitrary precision long-int by default.
|
// Enable arbitrary precision long-int by default.
|
||||||
#ifndef MICROPY_LONGINT_IMPL
|
#ifndef MICROPY_LONGINT_IMPL
|
||||||
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ)
|
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ)
|
||||||
|
|
Ładowanie…
Reference in New Issue