31 Commits (8766bc02dcecc1176324b0b5e99aaf651ebe975b)

Author SHA1 Message Date
stijn 3baf6b5319 windows/py: Support 64bit mingw-w64 builds 9 years ago
Damien George 2f4e8511cd py/mpz: Force rhs of mpz_shl_inpl/mpz_shr_inpl to be unsigned. 9 years ago
Damien George 8b4fb4fe14 py/mpz: Fix calculation of max digit storage for mpz; fix sys.maxsize. 9 years ago
Damien George 271d18eb08 py: Support conversion of bignum to bytes. 10 years ago
Damien George 3f327cc4c6 py: Allow MPZ_DIG_SIZE to be optionally configured by a port. 10 years ago
Damien George 848dd0e762 py: Make some mpz functions static and remove unused ones. 10 years ago
Damien George a2e383820d py: Clean up and comment out unused functions in mpz. 10 years ago
Damien George 5c670acb1f py: Be more machine-portable with size of bit fields. 10 years ago
David Steinberg 6e0b6d02db py: Fix float to int conversion for large exponents. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Damien George b4fe6e28eb py: Fix function type: () -> (void). 10 years ago
stijn 0e557facb9 mpz: Fix 64bit msvc build 10 years ago
Damien George 42f3de924b py: Convert [u]int to mp_[u]int_t where appropriate. 10 years ago
Damien George 953074315e py: Enable struct/binary-helper to parse q and Q sized ints. 10 years ago
Damien George 9a21d2e070 py: Make mpz able to use 16 bits per digit; and 32 on 64-bit arch. 10 years ago
Damien George afb1cf75dd py: Convert (u)int to mp_(u)int_t in mpz, and remove unused function. 10 years ago
Damien George c9aa58e638 py: Improve handling of long-int overflow. 10 years ago
Damien George ffe911d228 py: Make long ints hashable. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Damien George fb510b3bf9 Rename bultins config variables to MICROPY_PY_BUILTINS_*. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Dave Hylands c4029e5079 Add string formatting support for longlong and mpz. 11 years ago
Damien George 8270e3853d py: More robust int conversion and overflow checking. 11 years ago
Paul Sokolovsky 57207b8818 objint_mpz: Quick&dirty implementation of bitwise operations. 11 years ago
Damien George bb4a43f35c py: Fix some bugs in mpz; add mpz_from_ll and mpz_set_from_ll. 11 years ago
Damien George 5260810d70 py: Wrap mpz float functions in MICROPY_ENABLE_FLOAT. 11 years ago
Damien George 06201ff3d6 py: Implement bit-shift and not operations for mpz. 11 years ago
Damien George 510477557d py: Take out bitfield entries from their own structure. 11 years ago
Damien George c5ac2ac590 py: Start to implement shl/shr for mpz. Fix return void. 11 years ago
Damien George aca141269e py: Fix mpn_sub, was increasing wrong source pointer. 11 years ago
Damien George 438c88dd2f Add arbitrary precision integer support. 11 years ago