aboutsummaryrefslogtreecommitdiff
path: root/src/exact_value.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2018-12-08 11:25:35 +0000
committergingerBill <bill@gingerbill.org>2018-12-08 11:25:35 +0000
commitbd62bceca6f43a92618a6d362f186918268d84c1 (patch)
tree71650c9496105c6f736ebeb39c4036c1a08ef4cc /src/exact_value.cpp
parentff6ec860b35bd4382523998ca2804da84fe2d9f6 (diff)
Fix BigInt normalization issue #293
Diffstat (limited to 'src/exact_value.cpp')
-rw-r--r--src/exact_value.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exact_value.cpp b/src/exact_value.cpp
index a4ceb5fa0..d1d44b7dd 100644
--- a/src/exact_value.cpp
+++ b/src/exact_value.cpp
@@ -553,7 +553,7 @@ ExactValue exact_binary_operator_value(TokenKind op, ExactValue x, ExactValue y)
case Token_Shr: big_int_shr(&c, a, b); break;
default: goto error;
}
-
+ big_int_normalize(&c);
ExactValue res = {ExactValue_Integer};
res.value_integer = c;
return res;