summaryrefslogtreecommitdiffstatshomepage
path: root/py/objint_mpz.c
Commit message (Expand)AuthorAge
* all: Use the name MicroPython consistently in commentsAlexander Steffen2017-07-31
* py: Implement raising a big-int to a negative power.Damien George2017-07-25
* extmod/moductypes: Fix bigint handling for 32-bit ports.Paul Sokolovsky2017-04-21
* py/objint: Consolidate mp_obj_new_int_from_float to one implementation.Damien George2017-04-04
* py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible.Damien George2017-03-28
* py/objint: Convert mp_uint_t to size_t where appropriate.Damien George2017-02-16
* py: Added optimised support for 3-argument calls to builtin.pow()Nicko van Someren2017-02-02
* py/objint: from_bytes(): Implement "byteorder" param and arbitrary precision.Paul Sokolovsky2017-01-21
* py/objint_mpz: Refactor switch-statement to remove unreachable default.Damien George2017-01-19
* py/objint: Rename mp_obj_int_as_float to mp_obj_int_as_float_impl.Damien George2016-12-21
* py: Use mp_raise_msg helper function where appropriate.Damien George2016-10-17
* py/objint: Use size_t for arguments that measure bytes/sizes.Damien George2016-10-11
* py: Factor duplicated function to calculate size of formatted int.Damien George2016-10-11
* py/mpz: Do Python style division/modulo within bignum divmod routine.Damien George2016-05-08
* py: Use MP_SMALL_INT_POSITIVE_MASK to check if uint fits in a small int.Damien George2016-03-10
* py: Change mp_obj_int_is_positive to more general mp_obj_int_sign.Damien George2016-01-07
* py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.Damien George2015-11-29
* py: Add mp_obj_is_float function (macro) and use it where appropriate.Damien George2015-10-20
* py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming.Paul Sokolovsky2015-10-11
* py: Catch all cases of integer (big and small) division by zero.Damien George2015-10-01
* py/mpz: Fix calculation of max digit storage for mpz; fix sys.maxsize.Damien George2015-09-15
* py: Implement divmod for mpz bignum.Damien George2015-06-13
* py: Convert hash API to use MP_UNARY_OP_HASH instead of ad-hoc function.Damien George2015-05-12
* py: Support conversion of bignum to bytes.Damien George2015-04-25
* py/objint_mpz.c: Make int_from_uint actually return uint.Damien George2015-04-22
* py: Fix builtin abs so it works for bools and bignum.Damien George2015-03-14
* py: Use float-to-int classifications for mp_obj_new_int_from_float() functionsDavid Steinberg2015-01-24
* py: Temporary fix for conversion of float to int when fits in small int.Damien George2015-01-07
* py: Raise exception if trying to convert inf/nan to int.Damien George2015-01-02
* py: Fix float to int conversion for large exponents.David Steinberg2015-01-02
* py: Move to guarded includes, everywhere in py/ core.Damien George2015-01-01
* py: Partially fix float to int conversion.Paul Sokolovsky2014-12-30
* py: Rename mp_obj_int_get to mp_obj_int_get_truncated; fix struct.pack.Damien George2014-12-05
* mpz: Fix 64bit msvc buildstijn2014-10-30
* py: Convert [u]int to mp_[u]int_t where appropriate.Damien George2014-10-03
* py: Enable struct/binary-helper to parse q and Q sized ints.Damien George2014-09-10
* py: Correctly set sys.maxsize value for 64-bit.Paul Sokolovsky2014-09-06
* py: Fix definition of sys.maxsize with mpz changes.Damien George2014-09-06
* py: Convert (u)int to mp_(u)int_t in mpz, and remove unused function.Damien George2014-09-05
* 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: Improve handling of long-int overflow.Damien George2014-07-31
* py: Make long ints hashable.Damien George2014-07-24
* py: Implement sys.maxsize, standard way to check platform "bitness".Paul Sokolovsky2014-07-03
* Rename machine_(u)int_t to mp_(u)int_t.Damien George2014-07-03
* 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: Fix check of small-int overflow when parsing ints.Damien George2014-05-28
* py: Implement long int parsing in int(...).Damien George2014-05-28
* py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL.Damien George2014-05-21