summaryrefslogtreecommitdiff
path: root/py/objint_mpz.c
AgeCommit message (Expand)Author
2018-04-05py/objint: Simplify LHS arg type checking in int binary op functions.Damien George
2017-11-24py/runtime: Add MP_BINARY_OP_CONTAINS as reverse of MP_BINARY_OP_IN.Damien George
2017-10-04all: Remove inclusion of internal py header files.Damien George
2017-09-18py/modbuiltins: Implement abs() by dispatching to MP_UNARY_OP_ABS.Paul Sokolovsky
2017-09-08py/runtime0.h: Put inplace arith ops in front of normal operations.Paul Sokolovsky
2017-09-07py/runtime0.h: Move relational ops to the beginning of mp_binary_op_t.Paul Sokolovsky
2017-08-29all: Convert mp_uint_t to mp_unary_op_t/mp_binary_op_t where appropriateDamien George
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-07-25py: Implement raising a big-int to a negative power.Damien George
2017-04-21extmod/moductypes: Fix bigint handling for 32-bit ports.Paul Sokolovsky
2017-04-04py/objint: Consolidate mp_obj_new_int_from_float to one implementation.Damien George
2017-03-28py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible.Damien George
2017-02-16py/objint: Convert mp_uint_t to size_t where appropriate.Damien George
2017-02-02py: Added optimised support for 3-argument calls to builtin.pow()Nicko van Someren
2017-01-21py/objint: from_bytes(): Implement "byteorder" param and arbitrary precision.Paul Sokolovsky
2017-01-19py/objint_mpz: Refactor switch-statement to remove unreachable default.Damien George
2016-12-21py/objint: Rename mp_obj_int_as_float to mp_obj_int_as_float_impl.Damien George
2016-10-17py: Use mp_raise_msg helper function where appropriate.Damien George
2016-10-11py/objint: Use size_t for arguments that measure bytes/sizes.Damien George
2016-10-11py: Factor duplicated function to calculate size of formatted int.Damien George
2016-05-08py/mpz: Do Python style division/modulo within bignum divmod routine.Damien George
2016-03-10py: Use MP_SMALL_INT_POSITIVE_MASK to check if uint fits in a small int.Damien George
2016-01-07py: Change mp_obj_int_is_positive to more general mp_obj_int_sign.Damien George
2015-11-29py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.Damien George
2015-10-20py: Add mp_obj_is_float function (macro) and use it where appropriate.Damien George
2015-10-11py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming.Paul Sokolovsky
2015-10-01py: Catch all cases of integer (big and small) division by zero.Damien George
2015-09-15py/mpz: Fix calculation of max digit storage for mpz; fix sys.maxsize.Damien George
2015-06-13py: Implement divmod for mpz bignum.Damien George
2015-05-12py: Convert hash API to use MP_UNARY_OP_HASH instead of ad-hoc function.Damien George
2015-04-25py: Support conversion of bignum to bytes.Damien George
2015-04-22py/objint_mpz.c: Make int_from_uint actually return uint.Damien George
2015-03-14py: Fix builtin abs so it works for bools and bignum.Damien George
2015-01-24py: Use float-to-int classifications for mp_obj_new_int_from_float() functionsDavid Steinberg
2015-01-07py: Temporary fix for conversion of float to int when fits in small int.Damien George
2015-01-02py: Raise exception if trying to convert inf/nan to int.Damien George
2015-01-02py: Fix float to int conversion for large exponents.David Steinberg
2015-01-01py: Move to guarded includes, everywhere in py/ core.Damien George
2014-12-30py: Partially fix float to int conversion.Paul Sokolovsky
2014-12-05py: Rename mp_obj_int_get to mp_obj_int_get_truncated; fix struct.pack.Damien George
2014-10-30mpz: Fix 64bit msvc buildstijn
2014-10-03py: Convert [u]int to mp_[u]int_t where appropriate.Damien George
2014-09-10py: Enable struct/binary-helper to parse q and Q sized ints.Damien George
2014-09-06py: Correctly set sys.maxsize value for 64-bit.Paul Sokolovsky
2014-09-06py: Fix definition of sys.maxsize with mpz changes.Damien George
2014-09-05py: Convert (u)int to mp_(u)int_t in mpz, and remove unused function.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-07-31py: Improve handling of long-int overflow.Damien George
2014-07-24py: Make long ints hashable.Damien George