Skip to content
  • stijn's avatar
    mpz: Fix 64bit msvc build · 0e557fac
    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.
    0e557fac