bigmath

package
v0.10.14 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Four = big.NewInt(4)
View Source
var One = big.NewInt(1)
View Source
var Seven = big.NewInt(7)
View Source
var Three = big.NewInt(3)
View Source
var Two = big.NewInt(2)
View Source
var Zero = big.NewInt(0)

Functions

func Add

func Add(addend1, addend2 *big.Int) *big.Int

func Div

func Div(dividend, divisor *big.Int) *big.Int

func Equal

func Equal(left, right *big.Int) bool

func Exp

func Exp(base, exponent, modulus *big.Int) *big.Int

func I

func I() *big.Int

Compensate for awkward big.Int API. Can cause an extra allocation or two.

func Mod

func Mod(dividend, divisor *big.Int) *big.Int

func Mul

func Mul(multiplicand, multiplier *big.Int) *big.Int

func Sub

func Sub(minuend, subtrahend *big.Int) *big.Int

Types

This section is empty.

Jump to

Keyboard shortcuts

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