aboutsummaryrefslogtreecommitdiff
path: root/py/objcomplex.c
AgeCommit message (Expand)Author
2022-05-03all: Use mp_obj_malloc everywhere it's applicable.Jim Mussared
2020-06-27py/objcomplex: Add mp_obj_get_complex_maybe for use in complex bin-op.Damien George
2020-04-05all: Use MP_ERROR_TEXT for all error messages.Jim Mussared
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
2020-02-11py: Expand type equality flags to 3 separate ones, fix bool/namedtuple.Damien George
2020-01-30py: Support non-boolean results for equality and inequality tests.Nicko van Someren
2019-02-12py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API.Damien George
2018-09-20py: Shorten error messages by using contractions and some rewording.Damien George
2017-10-04all: Remove inclusion of internal py header files.Damien George
2017-09-18py/{objfloat,objcomplex}: Optimise MP_UNARY_OP_ABS by reusing variables.Damien George
2017-09-18py/modbuiltins: Implement abs() by dispatching to MP_UNARY_OP_ABS.Paul Sokolovsky
2017-08-29all: Convert mp_uint_t to mp_unary_op_t/mp_binary_op_t where appropriateDamien George
2017-08-21py/objcomplex: Remove unnecessary assignment of variable.Damien George
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-06-15all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers.Damien George
2017-04-21py: Reduce str/repr precision of float numbers when floats are 30-bit.Damien George
2017-04-04py: Add very simple but correct hashing for float and complex numbers.Damien George
2017-03-29py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg.Damien George
2017-02-04py/objcomplex: Fix typo in ternary expression.Damien George
2017-02-03py/objcomplex: Correctly handle case of 0j to power of something.Damien George
2016-10-17py: Use mp_raise_msg helper function where appropriate.Damien George
2016-01-11py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.Damien George
2016-01-11py: Change type of .make_new and .call args: mp_uint_t becomes size_t.Damien George
2015-11-29py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.Damien George
2015-10-11py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming.Paul Sokolovsky
2015-05-17py: Implement mp_format_float for doubles and use where appropriatestijn
2015-05-13py: Fix printing of complex number when imaginary part is nanstijn
2015-04-16py: Overhaul and simplify printf/pfenv mechanism.Damien George
2015-04-11py: Combine load_attr and store_attr type methods into one (attr).Damien George
2015-02-08py: Parse big-int/float/imag constants directly in parser.Damien George
2015-02-02py: Fix cmath.log10; fix printing of complex number with negative imag.Damien George
2015-01-20py, unix: Allow to compile with -Wunused-parameter.Damien George
2015-01-12py: Allow to compile with -Wredundant-decls.Damien George
2015-01-01py: Move to guarded includes, everywhere in py/ core.Damien George
2014-09-11py and libm: Add asinf,acosf; print higher precision for float.Damien George
2014-08-30py: Change all uint to mp_uint_t in obj.h.Damien George
2014-08-30Change some parts of the core API to use mp_uint_t instead of uint/int.Damien George
2014-08-12py: Add .real and .imag attributes to complex numbers.Damien George
2014-06-20py: Separate MICROPY_PY_BUILTINS_COMPLEX from MICROPY_PY_BUILTINS_FLOAT.Paul Sokolovsky
2014-06-01Rename bultins config variables to MICROPY_PY_BUILTINS_*.Damien George
2014-05-21py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL.Damien George
2014-05-11py: Use mp_arg_check_num in more places.Damien George
2014-05-03Add license header to (almost) all files.Damien George
2014-05-02py, unix: Make "mpconfig.h" be first included, as other headers depend on it.Paul Sokolovsky
2014-04-17py: Add MP_OBJ_STOP_ITERATION and make good use of it.Damien George
2014-04-11py: Implement float and complex == and !=.Damien George
2014-04-10py: Fix float/complex binop returning NULL; implement complex power.Damien George
2014-04-09py: Implement complex division.Damien George
2014-04-05py: Change nlr_jump to nlr_raise, to aid in debugging.Damien George
2014-03-30Merge map.h into obj.h.Damien George