math

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(x, y *big.Int) *big.Int

func Avg

func Avg(x *big.Int, y *big.Int) *big.Int

func BigIntToBigFloat

func BigIntToBigFloat(a *big.Int) *big.Float

func Div

func Div(x, y *big.Int) *big.Int

func DivFloat

func DivFloat(x, y *big.Float) *big.Float

func DivideToFloat

func DivideToFloat(a, b *big.Int) float64

func Exp

func Exp(x, y *big.Int) *big.Int

func IsEqual

func IsEqual(x, y *big.Int) bool

func IsEqualOrGreaterThan

func IsEqualOrGreaterThan(x, y *big.Int) bool

func IsEqualOrSmallerThan

func IsEqualOrSmallerThan(x, y *big.Int) bool

func IsGreaterThan

func IsGreaterThan(x, y *big.Int) bool

func IsNotEqual

func IsNotEqual(x, y *big.Int) bool

func IsSmallerThan

func IsSmallerThan(x, y *big.Int) bool

func IsStrictlyGreaterThan

func IsStrictlyGreaterThan(x, y *big.Int) bool

func IsStrictlySmallerThan

func IsStrictlySmallerThan(x, y *big.Int) bool

func IsZero

func IsZero(x *big.Int) bool

func Max

func Max(a, b *big.Int) *big.Int

func Mul

func Mul(x, y *big.Int) *big.Int

func Neg

func Neg(x *big.Int) *big.Int

func Sub

func Sub(x, y *big.Int) *big.Int

func ToBigInt

func ToBigInt(s string) *big.Int

func ToDecimal

func ToDecimal(value *big.Int) float64

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL