math

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: MIT Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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