math

package
v1.0.2079 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ceil

func Ceil(n *big.Rat) *big.Int

func E

func E(rounds uint) *big.Rat

func Floor

func Floor(n *big.Rat) *big.Int

func Mask

func Mask(s uint) *big.Int

func Odd

func Odd(n *big.Int) *big.Int

func Phi

func Phi(precision uint) *big.Rat

func RotateLeft

func RotateLeft(x *big.Int, r uint, s uint, mask *big.Int) *big.Int

func RotateRight

func RotateRight(i *big.Int, r uint, s uint, mask *big.Int) *big.Int

func Round

func Round(n *big.Rat) *big.Int

func Sqrt

func Sqrt(n uint64, p uint) *big.Rat

Types

This section is empty.

Jump to

Keyboard shortcuts

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