summaryrefslogtreecommitdiff
path: root/py/parsenum.c
AgeCommit message (Expand)Author
2022-08-26py/objstr: Optimise mp_obj_new_str_from_vstr for known-safe strings.Jim Mussared
2022-08-26py/objstr: Split mp_obj_str_from_vstr into bytes/str versions.Jim Mussared
2022-08-12py/parsenum: Ensure that trailing zeros lead to identical results.Dan Ellis
2022-06-23py/parsenum: Optimise when building with complex disabled.Damien George
2022-06-23py/parsenum: Fix parsing of complex "j" and also "nanj", "infj".Damien George
2022-06-23py/parsenum: Support parsing complex numbers of the form "a+bj".Jim Mussared
2021-04-27py: Add option to compile without any error messages at all.Damien George
2020-04-18all: Fix implicit floating point promotion.stijn
2020-04-18Revert "all: Fix implicit casts of float/double, and signed comparison."stijn
2020-04-05all: Use MP_ERROR_TEXT for all error messages.Jim Mussared
2020-04-05py: Use preprocessor to detect error reporting level (terse/detailed).Jim Mussared
2020-03-30all: Fix implicit casts of float/double, and signed comparison.David Lechner
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
2019-09-26py: Rename MP_QSTR_NULL to MP_QSTRnull to avoid intern collisions.Josh Lloyd
2018-09-20py/parsenum: Avoid rounding errors with negative powers-of-10.Romain Goyet
2018-06-12py/lexer: Add support for underscores in numeric literals.Damien George
2018-05-22py/parsenum: Adjust braces so they are balanced.Damien George
2018-05-21py/parsenum: Avoid undefined behavior parsing floats with large exponents.Jeff Epler
2018-05-21py/parsenum: Use int instead of mp_int_t for parsing float exponent.Damien George
2018-02-08py/parsenum: Fix parsing of floats that are close to subnormal.Damien George
2017-11-27py/parsenum: Improve parsing of floating point numbers.Damien George
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-03-28py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible.Damien George
2016-12-28py/parsenum: Fix warning for signed/unsigned comparison.Damien George
2016-12-28py/parsenum: Simplify and generalise decoding of digit values.Damien George
2016-11-03py: Add MICROPY_FLOAT_CONST macro for defining float constants.Damien George
2016-10-17py: Use mp_raise_msg helper function where appropriate.Damien George
2016-03-29py/parsenum: Use pow function to apply exponent to decimal number.Damien George
2016-03-14py/parsenum: Fix compiler warnings for no decl and signed comparison.Damien George
2016-03-14py/parsenum: Use size_t to count bytes, and int for type of base arg.Damien George
2015-11-29py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.Damien George
2015-10-01py/parsenum: Provide detailed error for int parsing with escaped bytes.Damien George
2015-06-23py: Clarify comment in parsenum.c about ValueError vs SyntaxError.Damien George
2015-06-23py: Change exception type to ValueError when error reporting is terse.Daniel Campora
2015-05-30py/parsenum.c: Rename "raise" func to "raise_exc" to avoid name clash.Damien George
2015-03-16py: Fix printing of error message when parsing malformed integer.Damien George
2015-02-08py: Parse big-int/float/imag constants directly in parser.Damien George
2015-01-01py: Move to guarded includes, everywhere in py/ core.Damien George
2014-11-06py: Use shorter, static error msgs when ERROR_REPORTING_TERSE enabled.Damien George
2014-07-03parser: Convert (u)int to mp_(u)int_t.Damien George
2014-07-03Rename machine_(u)int_t to mp_(u)int_t.Damien George
2014-06-21py: Include mpconfig.h before all other includes.Paul Sokolovsky
2014-06-20py: Separate MICROPY_PY_BUILTINS_COMPLEX from MICROPY_PY_BUILTINS_FLOAT.Paul Sokolovsky
2014-06-14parsenum: Signedness issues.Paul Sokolovsky
2014-06-01Rename bultins config variables to MICROPY_PY_BUILTINS_*.Damien George
2014-05-28py: Fix check of small-int overflow when parsing ints.Damien George
2014-05-28py: Implement long int parsing in int(...).Damien George
2014-05-03Add license header to (almost) all files.Damien George
2014-04-09Remove exception name from inside the exception messageAndrew Scheller
2014-04-05py: Change nlr_jump to nlr_raise, to aid in debugging.Damien George