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