Versions in this module Expand all Collapse all v1 v1.0.0 Jun 28, 2023 Changes in this version + const BigIntMaxSerializedLen + func BitLen(a Int) uint + func Cmp(a, b Int) int + type Int struct + func Add(a, b Int) Int + func Div(a, b Int) Int + func Exp(a Int, e Int) Int + func FromBytes(buf []byte) (Int, error) + func FromString(s string) (Int, error) + func Lsh(a Int, n uint) Int + func Max(x, y Int) Int + func Min(x, y Int) Int + func Mod(a, b Int) Int + func Mul(a, b Int) Int + func MustFromString(s string) Int + func NewFromGo(i *big.Int) Int + func NewInt(i int64) Int + func NewIntUnsigned(i uint64) Int + func PositiveFromUnsignedBytes(b []byte) Int + func Product(ints ...Int) Int + func Rsh(a Int, n uint) Int + func Sub(a, b Int) Int + func Subtract(num1 Int, ints ...Int) Int + func Sum(ints ...Int) Int + func Zero() Int + func (bi *Int) Bytes() ([]byte, error) + func (bi *Int) IsZero() bool + func (bi *Int) MarshalBinary() ([]byte, error) + func (bi *Int) MarshalCBOR(w io.Writer) error + func (bi *Int) MarshalJSON() ([]byte, error) + func (bi *Int) Nil() bool + func (bi *Int) NilOrZero() bool + func (bi *Int) UnmarshalBinary(buf []byte) error + func (bi *Int) UnmarshalCBOR(br io.Reader) error + func (bi *Int) UnmarshalJSON(b []byte) error + func (bi Int) Abs() Int + func (bi Int) Copy() Int + func (bi Int) Equals(o Int) bool + func (bi Int) GreaterThan(o Int) bool + func (bi Int) GreaterThanEqual(o Int) bool + func (bi Int) LessThan(o Int) bool + func (bi Int) LessThanEqual(o Int) bool + func (bi Int) Neg() Int