• Doug Currie's avatar
    py/mpz: Complete implementation of mpz_{and,or,xor} for negative args. · 2e2e15ce
    Doug Currie authored
    For these 3 bitwise operations there are now fast functions for
    positive-only arguments, and general functions for arbitrary sign
    arguments (the fast functions are the existing implementation).
    
    By default the fast functions are not used (to save space) and instead
    the general functions are used for all operations.
    
    Enable MICROPY_OPT_MPZ_BITWISE to use the fast functions for positive
    arguments.
    2e2e15ce