bigmath

package
v1.10.17 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: MIT Imports: 3 Imported by: 0

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 interface{}) *big.Int

func Div

func Div(dividend, divisor interface{}) *big.Int

func Equal

func Equal(left, right interface{}) bool

func Exp

func Exp(base, exponent, modulus interface{}) *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 interface{}) *big.Int

func Mul

func Mul(multiplicand, multiplier interface{}) *big.Int

func Sub

func Sub(minuend, subtrahend interface{}) *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