Versions in this module Expand all Collapse all v1 v1.6.9 May 31, 2018 Changes in this version + var Int = Int256 + var MaxUint256 = Uint(0).SetBytes(...) + var MinOne = Int(-1) + var One = Uint(1) + var Two = Uint(2) + var Uint = Uint256 + var Zero = Uint(0) + type Initialiser func(n int64) *Number + func NewInitialiser(limiter func(*Number) *Number) Initialiser + type Number struct + func Big(n int64) *Number + func Int256(n int64) *Number + func Uint256(n int64) *Number + func (i *Number) Add(x, y *Number) *Number + func (i *Number) Bytes() []byte + func (i *Number) Cmp(x *Number) int + func (i *Number) Div(x, y *Number) *Number + func (i *Number) FirstBitSet() int + func (i *Number) Int256() *Number + func (i *Number) Int64() int64 + func (i *Number) Lsh(x *Number, s uint) *Number + func (i *Number) Mod(x, y *Number) *Number + func (i *Number) Mul(x, y *Number) *Number + func (i *Number) Pow(x, y *Number) *Number + func (i *Number) Set(x *Number) *Number + func (i *Number) SetBytes(x []byte) *Number + func (i *Number) String() string + func (i *Number) Sub(x, y *Number) *Number + func (i *Number) Uint256() *Number + func (i *Number) Uint64() uint64