1. 06 Sep, 2014 4 commits
    • Paul Sokolovsky's avatar
      py: Correctly set sys.maxsize value for 64-bit. · 722e5627
      Paul Sokolovsky authored
      Type representing signed size doesn't have to be int, so use special value
      which defaults to SSIZE_MAX, but as it's not defined by C standard (but rather
      by POSIX), allow ports to set it.
      722e5627
    • Damien George's avatar
      unix: Don't use -Wno-error=cpp or #warning; fix strict alias warning. · 17598d49
      Damien George authored
      For the sake of older versions of gcc (and other compilers), don't use
      the #warning CPP directive, nor the -Wno-error=cpp option.
      
      Also, fix a strict alias warning in modffi.c for older compilers, and
      add a test for ffi module.
      
      Addresses issue #847.
      17598d49
    • Damien George's avatar
      8002d5d2
    • Damien George's avatar
      py: Make mpz able to use 16 bits per digit; and 32 on 64-bit arch. · 9a21d2e0
      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.
      9a21d2e0
  2. 05 Sep, 2014 2 commits
  3. 04 Sep, 2014 1 commit
  4. 03 Sep, 2014 5 commits
  5. 02 Sep, 2014 5 commits
  6. 01 Sep, 2014 10 commits
  7. 30 Aug, 2014 8 commits
  8. 29 Aug, 2014 5 commits