Skip to content

Commit 6ecfb2f

Browse files
committed
feat: add UINT_* constants
1 parent f1d9ff8 commit 6ecfb2f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/constants.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
export const UINT_8_MAX = (1n << 8n) - 1n
22
export const UINT_24_MAX = (1n << 24n) - 1n
3+
export const UINT_16_MAX = (1n << 16n) - 1n
34
export const UINT_32_MAX = (1n << 32n) - 1n
45
export const UINT_40_MAX = (1n << 40n) - 1n
56
export const UINT_48_MAX = (1n << 48n) - 1n
7+
export const UINT_64_MAX = (1n << 64n) - 1n
68
export const UINT_80_MAX = (1n << 80n) - 1n
79
export const UINT_160_MAX = (1n << 160n) - 1n
810
export const UINT_128_MAX = (1n << 128n) - 1n

0 commit comments

Comments
 (0)