aboutsummaryrefslogtreecommitdiff
path: root/py/mpz.h
AgeCommit message (Expand)Author
2021-12-21py/mpz: Fix bugs with bitwise of -0 by ensuring all 0's are positive.Damien George
2020-03-11tools/codeformat.py: Eliminate need for sizeof fixup.David Lechner
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
2017-12-29py/mpz: Simplify handling of borrow and quo adjustment in mpn_div.Damien 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-07-25py/mpz: Make mpz_is_zero() an inline function.Damien George
2017-07-18all: Unify header guard usage.Alexander Steffen
2017-02-16py/mpz: Change type of "base" args from mp_uint_t to unsigned int.Damien George
2017-02-16py/mpz: Remove obsolete declaration of mpz_as_str_size.Damien George
2017-02-16py/mpz: 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/mpz: Implement mpz_set_from_bytes() as a foundation for int.from_bytes().Paul Sokolovsky
2016-10-11py: Factor duplicated function to calculate size of formatted int.Damien George
2015-11-24windows/py: Support 64bit mingw-w64 buildsstijn
2015-10-01py/mpz: Force rhs of mpz_shl_inpl/mpz_shr_inpl to be unsigned.Damien George
2015-09-15py/mpz: Fix calculation of max digit storage for mpz; fix sys.maxsize.Damien George
2015-04-25py: Support conversion of bignum to bytes.Damien George
2015-04-03py: Allow MPZ_DIG_SIZE to be optionally configured by a port.Damien George
2015-03-12py: Make some mpz functions static and remove unused ones.Damien George
2015-03-02py: Clean up and comment out unused functions in mpz.Damien George
2015-01-24py: Be more machine-portable with size of bit fields.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-10py: Fix function type: () -> (void).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: Make mpz able to use 16 bits per digit; and 32 on 64-bit arch.Damien George
2014-09-05py: Convert (u)int to mp_(u)int_t in mpz, and remove unused function.Damien George
2014-07-31py: Improve handling of long-int overflow.Damien George
2014-07-24py: Make long ints hashable.Damien George
2014-07-03Rename machine_(u)int_t to mp_(u)int_t.Damien George
2014-06-01Rename bultins config variables to MICROPY_PY_BUILTINS_*.Damien George
2014-05-03Add license header to (almost) all files.Damien George
2014-04-07Add string formatting support for longlong and mpz.Dave Hylands
2014-04-03py: More robust int conversion and overflow checking.Damien George
2014-03-23objint_mpz: Quick&dirty implementation of bitwise operations.Paul Sokolovsky
2014-03-12py: Fix some bugs in mpz; add mpz_from_ll and mpz_set_from_ll.Damien George
2014-03-08py: Wrap mpz float functions in MICROPY_ENABLE_FLOAT.Damien George
2014-03-01py: Implement bit-shift and not operations for mpz.Damien George
2014-02-26py: Take out bitfield entries from their own structure.Damien George
2014-02-26py: Start to implement shl/shr for mpz. Fix return void.Damien George
2014-02-24py: Fix mpn_sub, was increasing wrong source pointer.Damien George
2014-02-22Add arbitrary precision integer support.Damien George