Skip to content

Commit

Permalink
+1
Browse files Browse the repository at this point in the history
  • Loading branch information
skirpichev committed Sep 19, 2024
1 parent 1be7e48 commit e9b9cbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gmpy2_convert_gmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ mpz_set_PyLong(mpz_t z, PyObject *obj)
if (long_export.value < 0) {
mpz_t tmp;
mpz_init(tmp);
mpz_ui_pow_ui(tmp, 2, 8*sizeof(size_t));
mpz_ui_pow_ui(tmp, 2, 64);
mpz_sub(z, z, tmp);
mpz_clear(tmp);
}
Expand Down

0 comments on commit e9b9cbf

Please sign in to comment.