Skip to content

Commit

Permalink
changed initialization format of RC_BOUND bigint
Browse files Browse the repository at this point in the history
  • Loading branch information
KeneePatel committed May 27, 2024
1 parent 03b055d commit 6e7a243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/builtins.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const RC_BOUND: bigint = BigInt("340282366920938463463374607431768211456"); // equivalent to 2^128
const RC_BOUND: bigint = BigInt(2 ** 128);

function RANGE_CHECK(num: bigint): bigint {
if (num < RC_BOUND) {
Expand Down

0 comments on commit 6e7a243

Please sign in to comment.