diff options
Diffstat (limited to 'common/math/big.go')
-rw-r--r-- | common/math/big.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/math/big.go b/common/math/big.go index dbf2770a9..9d2e7946d 100644 --- a/common/math/big.go +++ b/common/math/big.go @@ -22,12 +22,13 @@ import ( "math/big" ) +// Various big integer limit values. var ( tt255 = BigPow(2, 255) tt256 = BigPow(2, 256) tt256m1 = new(big.Int).Sub(tt256, big.NewInt(1)) - MaxBig256 = new(big.Int).Set(tt256m1) tt63 = BigPow(2, 63) + MaxBig256 = new(big.Int).Set(tt256m1) MaxBig63 = new(big.Int).Sub(tt63, big.NewInt(1)) ) |