diff options
| author | gingerBill <bill@gingerbill.org> | 2018-12-08 11:25:35 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-12-08 11:25:35 +0000 |
| commit | bd62bceca6f43a92618a6d362f186918268d84c1 (patch) | |
| tree | 71650c9496105c6f736ebeb39c4036c1a08ef4cc /src/exact_value.cpp | |
| parent | ff6ec860b35bd4382523998ca2804da84fe2d9f6 (diff) | |
Fix BigInt normalization issue #293
Diffstat (limited to 'src/exact_value.cpp')
| -rw-r--r-- | src/exact_value.cpp | 2 |
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; |