- Oct 01, 2015
-
-
Damien George authored
-
- Apr 25, 2015
-
-
Damien George authored
-
Damien George authored
This gets int.to_bytes working for bignum, and also struct.pack with 'q' and 'Q' args on 32-bit machines. Addresses issue #1155.
-
- Apr 22, 2015
-
-
Damien George authored
-
- Apr 09, 2015
-
-
Damien George authored
-
- Mar 12, 2015
-
-
Damien George authored
-
- Mar 02, 2015
-
-
Damien George authored
-
- Jan 27, 2015
-
-
Damien George authored
-
- Jan 24, 2015
-
-
David Steinberg authored
-
David Steinberg authored
-
- Jan 20, 2015
-
-
Damien George authored
See issue #699.
-
- Jan 16, 2015
-
-
Damien George authored
See issue #699.
-
- Jan 09, 2015
-
-
Damien George authored
-
- Jan 02, 2015
-
-
Damien George authored
-
David Steinberg authored
-
- Jan 01, 2015
-
-
Damien George authored
Addresses issue #1022.
-
- Dec 31, 2014
-
-
Damien George authored
Addresses issue #1027.
-
- Oct 30, 2014
-
-
stijn authored
msvc does not treat 1L a 64bit integer hence all occurences of shifting it left or right result in undefined behaviour since the maximum allowed shift count for 32bit ints is 31. Forcing the correct type explicitely, stored in MPZ_LONG_1, solves this.
-
- Oct 03, 2014
-
-
Damien George authored
Addressing issue #50.
-
- Sep 10, 2014
-
-
Damien George authored
Addresses issue #848.
-
- Sep 06, 2014
-
-
Damien George authored
Previously, mpz was restricted to using at most 15 bits in each digit, where a digit was a uint16_t. With this patch, mpz can use all 16 bits in the uint16_t (improvement to mpn_div was required). This gives small inprovements in speed and RAM usage. It also yields savings in ROM code size because all of the digit masking operations become no-ops. Also, mpz can now use a uint32_t as the digit type, and hence use 32 bits per digit. This will give decent improvements in mpz speed on 64-bit machines. Test for big integer division added.
-
- Sep 05, 2014
-
-
Damien George authored
-
- Aug 29, 2014
-
-
Damien George authored
-
- Aug 07, 2014
-
-
Damien George authored
Before this patch, eg, 1 << 75 (or any large multiple of 15) was setting the MSB in the digits, which is outside the valid range of DIG_MASK.
-
- Jul 31, 2014
-
-
Damien George authored
This removes mpz_as_int, since that was a terrible function (it implemented saturating conversion). Use mpz_as_int_checked and mpz_as_uint_checked. These now work correctly (they previously had wrong overflow checking, eg print(chr(10000000000000)) on 32-bit machine would incorrectly convert this large number to a small int).
-
- Jul 24, 2014
-
-
Damien George authored
Addresses issue #765.
-
- Jul 03, 2014
-
-
Damien George authored
See discussion in issue #50.
-
- Jun 21, 2014
-
-
Paul Sokolovsky authored
It defines types used by all other headers. Fixes #691.
-
- Jun 01, 2014
-
-
Damien George authored
This renames: MICROPY_PY_FROZENSET -> MICROPY_PY_BUILTINS_FROZENSET MICROPY_PY_PROPERTY -> MICROPY_PY_BUILTINS_PROPERTY MICROPY_PY_SLICE -> MICROPY_PY_BUILTINS_SLICE MICROPY_ENABLE_FLOAT -> MICROPY_PY_BUILTINS_FLOAT See issue #35 for discussion.
-
- May 29, 2014
-
-
Damien George authored
Needs proper coverage testing. Doesn't implement -ve & -ve. Addresses issue #611.
-
- May 13, 2014
-
-
Damien George authored
This should now have correct (and optimal) behaviour.
-
- May 12, 2014
-
-
Damien George authored
Addresses issue #610.
-
- May 08, 2014
-
-
stijn authored
Extend the windows port so it compiles with the toolchain from Visual Studio 2013
-
- May 03, 2014
-
-
Damien George authored
Blanket wide to all .c and .h files. Some files originating from ST are difficult to deal with (license wise) so it was left out of those. Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
-
- Apr 08, 2014
-
-
Damien George authored
-
- Apr 07, 2014
-
-
Dave Hylands authored
-
- Apr 03, 2014
-
-
Damien George authored
-
Damien George authored
-
- Mar 22, 2014
-
-
Paul Sokolovsky authored
Made solely to unbreak int-long.py test which in turn uncovered thinko with implementation of inplace ops. On mpz level, bitwise ops implemented only for same-sign numbers, and are not efficient (unconditional calling of mpn_cmp() is apparently superfluous).
-
- Mar 12, 2014
-
-
Damien George authored
A couple of bugs in mpn_shl, and overflow bug in mpz_set_from_int.
-