summaryrefslogtreecommitdiff
path: root/py/modmath.c
AgeCommit message (Expand)Author
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
2014-03-25Proper support for registering builtin modules in ROM.Damien George