Versions in this module Expand all Collapse all v0 v0.5.0 Jul 12, 2019 Changes in this version + const MaxUint64 + var MaxBig256 = new(big.Int).Set(tt256m1) + var MaxBig63 = new(big.Int).Sub(tt63, big.NewInt(1)) + func BigMax(x, y *big.Int) *big.Int + func BigMin(x, y *big.Int) *big.Int + func BigPow(a, b int64) *big.Int + func Byte(bigint *big.Int, padlength, n int) byte + func Exp(base, exponent *big.Int) *big.Int + func PaddedBigBytes(bigint *big.Int, n int) []byte + func ParseBig256(s string) (*big.Int, bool) + func ParseUint64(s string) (uint64, bool) + func ReadBits(bigint *big.Int, buf []byte) + func S256(x *big.Int) *big.Int + func SafeAdd(x, y uint64) (uint64, bool) + func SafeMul(x, y uint64) (uint64, bool) + func SafeSub(x, y uint64) (uint64, bool) + func U256(x *big.Int) *big.Int + type HexOrDecimal256 big.Int + func (i *HexOrDecimal256) MarshalText() ([]byte, error) + func (i *HexOrDecimal256) UnmarshalText(input []byte) error + type HexOrDecimal64 uint64 + func (i *HexOrDecimal64) UnmarshalText(input []byte) error + func (i HexOrDecimal64) MarshalText() ([]byte, error)