From 9500b97c69f571a18360301ac35e4aefe7741c2b Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Tue, 3 Apr 2018 07:49:46 +0000 Subject: [PATCH] fixed a sign check bug in bigint.c --- lib/bigint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bigint.c b/lib/bigint.c index c270931..691e484 100644 --- a/lib/bigint.c +++ b/lib/bigint.c @@ -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); hcl_pushtmp (hcl, &x);