aboutsummaryrefslogtreecommitdiff
path: root/py/objint_mpz.c
AgeCommit message (Expand)Author
2022-05-03all: Use mp_obj_malloc everywhere it's applicable.Jim Mussared
2020-11-11py/mpz: Do sign extension in mpz_as_bytes for negative values.Damien George
2020-05-28py/modsys: Use consistent naming pattern for module-level const objects.David Lechner
2020-04-05all: Use MP_ERROR_TEXT for all error messages.Jim Mussared
2020-03-28all: Remove spaces inside and around parenthesis.Damien George
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
2020-02-28all: Add *FORMAT-OFF* in various places.Damien George
2020-02-28py: Un-nest configuration #if/#endif's for selection of complex code.Damien George
2020-02-28py: Removing dangling "else" to improve code format consistency.Damien George
2020-01-14py/objint: Add mp_obj_int_get_uint_checked() helper.Yonatan Goldschmidt
2019-05-06py: remove "if (0)" and "if (false)" branches.Jun Wu
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
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