diff options
Diffstat (limited to 'py/parsenum.h')
| -rw-r--r-- | py/parsenum.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/py/parsenum.h b/py/parsenum.h index f444632d2..a807cb09d 100644 --- a/py/parsenum.h +++ b/py/parsenum.h @@ -34,6 +34,11 @@ mp_obj_t mp_parse_num_integer(const char *restrict str, size_t len, int base, mp_lexer_t *lex); +#if MICROPY_PY_BUILTINS_FLOAT +mp_float_t mp_decimal_exp(mp_float_t num, int dec_exp); +const char *mp_parse_float_internal(const char *str, size_t len, mp_float_t *res); +#endif + #if MICROPY_PY_BUILTINS_COMPLEX mp_obj_t mp_parse_num_decimal(const char *str, size_t len, bool allow_imag, bool force_complex, mp_lexer_t *lex); |
