fixed a sign check bug in bigint.c

This commit is contained in:
hyung-hwan 2018-04-03 07:49:46 +00:00
parent d4460c1b7c
commit 9500b97c69

View File

@ -2035,7 +2035,7 @@ hcl_oop_t hcl_divints (hcl_t* hcl, hcl_oop_t x, hcl_oop_t y, int modulo, hcl_oop
} }
} }
x_neg = HCL_IS_PBIGINT(hcl, x); x_neg = HCL_IS_NBIGINT(hcl, x);
y_neg = HCL_IS_NBIGINT(hcl, y); y_neg = HCL_IS_NBIGINT(hcl, y);
hcl_pushtmp (hcl, &x); hcl_pushtmp (hcl, &x);