1. 22 Mar, 2014 1 commit
    • Paul Sokolovsky's avatar
      objint_mpz: Quick&dirty implementation of bitwise operations. · 57207b88
      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).
      57207b88
  2. 12 Mar, 2014 1 commit
  3. 08 Mar, 2014 1 commit
  4. 01 Mar, 2014 1 commit
    • Damien George's avatar
      py: Implement bit-shift and not operations for mpz. · 06201ff3
      Damien George authored
      Implement not, shl and shr in mpz library.  Add function to create mpzs
      on the stack, used for memory efficiency when rhs is a small int.
      Factor out code to parse base-prefix of number into a dedicated function.
      06201ff3
  5. 26 Feb, 2014 1 commit
  6. 24 Feb, 2014 1 commit
  7. 22 Feb, 2014 1 commit