Versions in this module Expand all Collapse all v1 v1.9.9 Jan 4, 2020 Changes in this version + const MaxInt16 + const MaxInt32 + const MaxInt64 + const MaxInt8 + const MaxUint16 + const MaxUint32 + const MaxUint64 + const MaxUint8 + const MinInt16 + const MinInt32 + const MinInt64 + const MinInt8 + 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 FirstBitSet(v *big.Int) int + func MustParseBig256(s string) *big.Int + func MustParseUint64(s string) uint64 + 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 NewHexOrDecimal256(x int64) *HexOrDecimal256 + 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)