decimals

package
v0.0.0-...-2fbf6c5 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: LGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abs

func Abs(a *big.Float) *big.Float

func Add

func Add(a, b *big.Float) *big.Float

func ApplyDecimals

func ApplyDecimals(x *big.Float, y int64) (*big.Int, big.Accuracy)

func Div

func Div(a, b *big.Float) *big.Float

func FromString

func FromString(x string) (*big.Float, bool)

func Lesser

func Lesser(x, y *big.Float) bool

func Mul

func Mul(a, b *big.Float) *big.Float

func NewFloat

func NewFloat(f float64) *big.Float

func Pow

func Pow(a *big.Float, e int64) *big.Float

func RemoveDecimals

func RemoveDecimals(x *big.Int, y int64) *big.Float

func Root

func Root(a *big.Float, n uint64) *big.Float

func Sub

func Sub(a, b *big.Float) *big.Float

func Zero

func Zero() *big.Float

Types

This section is empty.

Jump to

Keyboard shortcuts

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