Documentation
¶
Index ¶
- func Add(first, second *big.Int) *big.Int
- func AddAll(first *big.Int, rest ...*big.Int) *big.Int
- func Atobi(number string) (*big.Int, error)
- func Cmp(x, y *big.Int) int
- func Div(dividend, divisor *big.Int) *big.Int
- func Empty() *big.Int
- func FromString(number string) (*big.Int, error)
- func FromStringBase(number string, base int) (*big.Int, error)
- func Mul(first, second *big.Int) *big.Int
- func MulAll(first *big.Int, rest ...*big.Int) *big.Int
- func MulRange(a, b int64) *big.Int
- func One() *big.Int
- func Sqrt(number *big.Int) *big.Int
- func Sub(first, second *big.Int) *big.Int
- func Val[T Number](number T) *big.Int
- func ValueOf[T Number](number T) *big.Int
- func Zero() *big.Int
- type Number
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Number ¶
type Number interface { constraints.Float | constraints.Integer }
Click to show internal directories.
Click to hide internal directories.