aboutsummaryrefslogtreecommitdiff
path: root/py/modmath.c
AgeCommit message (Expand)Author
2022-05-18py: Make builtin modules use MP_REGISTER_MODULE.Jim Mussared
2022-01-23py/modmath: Add math.tau, math.nan and math.inf constants.stijn
2020-12-14py/modmath: Simplify handling of positional args to reduce code size.Damien George
2020-10-22py, extmod: Add explicit initializers for default values.Emil Renner Berthing
2020-09-11py: Fix handling of NaN in certain pow implementations.stijn
2020-05-28py/modmath: Work around msvc float bugs in atan2, fmod and modf.stijn
2020-04-23all: Format code to add space after C++-style comment start.stijn
2020-04-05all: Use MP_ERROR_TEXT for all error messages.Jim Mussared
2020-03-18all: Convert exceptions to use mp_raise_XXX helpers in remaining places.Damien George
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
2019-08-17py/modmath: Implement math.isclose() for non-complex numbers.stijn
2018-09-26py/modmath: Add math.factorial, optimised and non-opt implementations.Christopher Swenson
2018-09-20py: Shorten error messages by using contractions and some rewording.Damien George
2017-10-10py/modmath: Convert log2 macro into a function.Damien George
2017-10-10py/modmath: Add full checks for math domain errors.Damien George
2017-08-30py: Change obsolete "///" comment formatting to normal comments.Damien George
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-07-04py/modmath: Check for zero division in log with 2 args.Damien George
2017-06-15all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers.Damien George
2017-03-23py/modmath: Allow trunc/ceil/floor to return a big int if necessary.Damien George
2016-11-03py: Add MICROPY_FLOAT_CONST macro for defining float constants.Damien George
2016-09-22all: Remove 'name' member from mp_obj_module_t struct.Damien George
2016-05-12py/objfloat, py/modmath: Ensure M_PI and M_E defined.Colin Hogben
2016-01-11py: Change type signature of builtin funs that take variable or kw args.Damien George
2015-12-12py/modmath: Add domain error checking to sqrt, log, log2, log10.Michael Buesch
2015-11-29py: Add MP_ROM_* macros and mp_rom_* types and use them.Damien George
2015-11-17py/modmath: Make log2, log10 and hyperbolic funcs be SPECIAL_FUNCTIONS.Damien George
2015-11-14py/modmath: Don't create symbol entry for expm1() if not needed.Paul Sokolovsky
2015-11-14py/modmath: Make expm1() be in MICROPY_PY_MATH_SPECIAL_FUNCTIONS.Paul Sokolovsky
2015-11-13unix/mpconfigport: Move log2() definition to modmath.c.Paul Sokolovsky
2015-10-20py: Move float e/pi consts to objfloat and make mp_obj_float_t private.Damien George
2015-10-11py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming.Paul Sokolovsky
2015-06-13py: Implement second arg for math.log (optional value for base).Damien George
2015-02-22py: Make math special functions configurable and disabled by default.Damien George
2015-01-01py: Move to guarded includes, everywhere in py/ core.Damien George
2014-12-10py: Make functions static where appropriate.Damien George
2014-11-29Use MP_DEFINE_CONST_DICT macro to define module dicts.Damien George
2014-08-10doc: Document gc, sys, math, cmath.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-19Prefix ARRAY_SIZE with micropython prefix MP_Emmanuel Blot
2014-06-01Rename bultins config variables to MICROPY_PY_BUILTINS_*.Damien George
2014-05-24Rename configuration variables controling Python features.Damien George
2014-05-12Fix some unused variables, and silence a clang warning about initialization o...Antonin ENFRUN
2014-05-03Add license header to (almost) all files.Damien George
2014-04-26Add ARRAY_SIZE macro, and use it where possible.Damien George
2014-04-17py: Add cmath module, for complex math. Disabled by default.Damien George
2014-04-05py: Change module globals from mp_map_t* to mp_obj_dict_t*.Damien George
2014-04-01py: Fix math.{ceil,floor,trunc} to return int.Damien George
2014-03-30Merge map.h into obj.h.Damien George