86 Commits (69c25ea8653566ec97690b5121bd10b753c89426)

Author SHA1 Message Date
David Steinberg c585ad1020 py: Move mp_float_t related defines to misc.h 10 years ago
Damien George ff8dd3f486 py, unix: Allow to compile with -Wunused-parameter. 10 years ago
Damien George 963a5a3e82 py, unix: Allow to compile with -Wsign-compare. 10 years ago
Damien George 58056b0f43 py: Fix handling of "0" mpz in some functions. 10 years ago
Damien George 6fd4b36bc5 py: Raise exception if trying to convert inf/nan to int. 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 e0ac194f4f py: Fix rshift and not of zero/one edge cases in mpz. 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 1c70cbf151 py: Save about 200 bytes of ROM by using smaller type for static table. 10 years ago
Damien George 5d9b816449 py: Fix bug in mpn_shl (multi-prec int shift left). 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
Paul Sokolovsky 59c675a64c py: Include mpconfig.h before all other includes. 11 years ago
Damien George fb510b3bf9 Rename bultins config variables to MICROPY_PY_BUILTINS_*. 11 years ago
Damien George f55cf10101 py: Implement bignum '&' with negatives on lhs and rhs. 11 years ago
Damien George 51fab28e94 py: Improve mpz_and function. 11 years ago
Damien George 561e425903 py: Fix bug in mpz_and function. 11 years ago
stijn 01d6be4d51 Windows MSVC port 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George eec91057b8 py: Add comment mpz function, and free memory used for string printing. 11 years ago
Dave Hylands c4029e5079 Add string formatting support for longlong and mpz. 11 years ago
Damien George 5bf565e353 py: Handle small int power overflow correctly. 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 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