From 7840a25709c882a372ab034b57741f2072c8bedf 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 --- hcl/lib/bigint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hcl/lib/bigint.c b/hcl/lib/bigint.c index c270931..691e484 100644 --- a/hcl/lib/bigint.c +++ b/hcl/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);