Documentation ¶
Index ¶
- func Ceil(n *big.Rat) *big.Int
- func Contains[T Ordered](items []T, item T) bool
- func E(rounds uint) *big.Rat
- func Floor(n *big.Rat) *big.Int
- func Mask(s uint) *big.Int
- func Max[T IntegerFloat](a, b T) T
- func Min[T IntegerFloat](a, b T) T
- func Odd(n *big.Int) *big.Int
- func Phi(precision uint) *big.Rat
- func RotateLeft(x *big.Int, r uint, s uint, mask *big.Int) *big.Int
- func RotateRight(i *big.Int, r uint, s uint, mask *big.Int) *big.Int
- func Round(n *big.Rat) *big.Int
- func Sqrt(n uint64, p uint) *big.Rat
- func Sum[T MathInteger](s ...T) (sum T)
- type Complex
- type Float
- type Integer
- type IntegerFloat
- type MathInteger
- type Ordered
- type Signed
- type Unsigned
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Max ¶ added in v1.0.5003
func Max[T IntegerFloat](a, b T) T
func Min ¶ added in v1.0.5003
func Min[T IntegerFloat](a, b T) T
Types ¶
type Complex ¶ added in v1.0.5003
type Complex interface { ~complex64 | ~complex128 }
type IntegerFloat ¶ added in v1.0.5003
type MathInteger ¶ added in v1.0.5003
Click to show internal directories.
Click to hide internal directories.