big

package
v0.0.0-...-375d9ab Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

This file has automatically been generated on Wed Feb 26 15:50:40 +05 2020. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccuracyString

func AccuracyString(i big.Accuracy) string

func ErrNaNError

func ErrNaNError(err big.ErrNaN) string

func FloatAbs

func FloatAbs(z *big.Float, x *big.Float) *big.Float

func FloatAcc

func FloatAcc(x *big.Float) big.Accuracy

func FloatAdd

func FloatAdd(z *big.Float, x, y *big.Float) *big.Float

func FloatAppend

func FloatAppend(x *big.Float, buf []byte, fmt byte, prec int) []byte

func FloatCmp

func FloatCmp(x *big.Float, y *big.Float) int

func FloatCopy

func FloatCopy(z *big.Float, x *big.Float) *big.Float

func FloatGobDecode

func FloatGobDecode(z *big.Float, buf []byte) error

func FloatGobEncode

func FloatGobEncode(x *big.Float) ([]byte, error)

func FloatInt

func FloatInt(x *big.Float, z *big.Int) (*big.Int, big.Accuracy)

func FloatIsInf

func FloatIsInf(x *big.Float) bool

func FloatIsInt

func FloatIsInt(x *big.Float) bool

func FloatMantExp

func FloatMantExp(x *big.Float, mant *big.Float) int

func FloatMarshalText

func FloatMarshalText(x *big.Float) ([]byte, error)

func FloatMinPrec

func FloatMinPrec(x *big.Float) uint

func FloatMode

func FloatMode(x *big.Float) big.RoundingMode

func FloatMul

func FloatMul(z *big.Float, x, y *big.Float) *big.Float

func FloatNeg

func FloatNeg(z *big.Float, x *big.Float) *big.Float

func FloatParse

func FloatParse(z *big.Float, s string, base int) (*big.Float, int, error)

func FloatPrec

func FloatPrec(x *big.Float) uint

func FloatQuo

func FloatQuo(z *big.Float, x, y *big.Float) *big.Float

func FloatRat

func FloatRat(x *big.Float, z *big.Rat) (*big.Rat, big.Accuracy)

func FloatScan

func FloatScan(z *big.Float, s fmt.ScanState, ch rune) error

func FloatSet

func FloatSet(z *big.Float, x *big.Float) *big.Float

func FloatSetInf

func FloatSetInf(z *big.Float, signbit bool) *big.Float

func FloatSetInt

func FloatSetInt(z *big.Float, x *big.Int) *big.Float

func FloatSetMantExp

func FloatSetMantExp(z *big.Float, mant *big.Float, exp int) *big.Float

func FloatSetMode

func FloatSetMode(z *big.Float, mode big.RoundingMode) *big.Float

func FloatSetPrec

func FloatSetPrec(z *big.Float, prec uint) *big.Float

func FloatSetRat

func FloatSetRat(z *big.Float, x *big.Rat) *big.Float

func FloatSetString

func FloatSetString(z *big.Float, s string) (*big.Float, bool)

func FloatSign

func FloatSign(x *big.Float) int

func FloatSignbit

func FloatSignbit(x *big.Float) bool

func FloatSqrt

func FloatSqrt(z *big.Float, x *big.Float) *big.Float

func FloatString

func FloatString(x *big.Float) string

func FloatSub

func FloatSub(z *big.Float, x, y *big.Float) *big.Float

func FloatText

func FloatText(x *big.Float, format byte, prec int) string

func FloatUnmarshalText

func FloatUnmarshalText(z *big.Float, text []byte) error

func IntAbs

func IntAbs(z *big.Int, x *big.Int) *big.Int

func IntAdd

func IntAdd(z *big.Int, x, y *big.Int) *big.Int

func IntAnd

func IntAnd(z *big.Int, x, y *big.Int) *big.Int

func IntAndNot

func IntAndNot(z *big.Int, x, y *big.Int) *big.Int

func IntAppend

func IntAppend(x *big.Int, buf []byte, base int) []byte

func IntBinomial

func IntBinomial(z *big.Int, n, k int64) *big.Int

func IntBit

func IntBit(x *big.Int, i int) uint

func IntBitLen

func IntBitLen(x *big.Int) int

func IntBits

func IntBits(x *big.Int) []big.Word

func IntBytes

func IntBytes(x *big.Int) []byte

func IntCmp

func IntCmp(x *big.Int, y *big.Int) int

func IntCmpAbs

func IntCmpAbs(x *big.Int, y *big.Int) int

func IntDiv

func IntDiv(z *big.Int, x, y *big.Int) *big.Int

func IntDivMod

func IntDivMod(z *big.Int, x, y, m *big.Int) (*big.Int, *big.Int)

func IntExp

func IntExp(z *big.Int, x, y, m *big.Int) *big.Int

func IntGCD

func IntGCD(z *big.Int, x, y, a, b *big.Int) *big.Int

func IntGobDecode

func IntGobDecode(z *big.Int, buf []byte) error

func IntGobEncode

func IntGobEncode(x *big.Int) ([]byte, error)

func IntLsh

func IntLsh(z *big.Int, x *big.Int, n uint) *big.Int

func IntMarshalJSON

func IntMarshalJSON(x *big.Int) ([]byte, error)

func IntMarshalText

func IntMarshalText(x *big.Int) ([]byte, error)

func IntMod

func IntMod(z *big.Int, x, y *big.Int) *big.Int

func IntModInverse

func IntModInverse(z *big.Int, g, n *big.Int) *big.Int

func IntModSqrt

func IntModSqrt(z *big.Int, x, p *big.Int) *big.Int

func IntMul

func IntMul(z *big.Int, x, y *big.Int) *big.Int

func IntMulRange

func IntMulRange(z *big.Int, a, b int64) *big.Int

func IntNeg

func IntNeg(z *big.Int, x *big.Int) *big.Int

func IntNot

func IntNot(z *big.Int, x *big.Int) *big.Int

func IntOr

func IntOr(z *big.Int, x, y *big.Int) *big.Int

func IntProbablyPrime

func IntProbablyPrime(x *big.Int, n int) bool

func IntQuo

func IntQuo(z *big.Int, x, y *big.Int) *big.Int

func IntQuoRem

func IntQuoRem(z *big.Int, x, y, r *big.Int) (*big.Int, *big.Int)

func IntRand

func IntRand(z *big.Int, rnd *rand.Rand, n *big.Int) *big.Int

func IntRem

func IntRem(z *big.Int, x, y *big.Int) *big.Int

func IntRsh

func IntRsh(z *big.Int, x *big.Int, n uint) *big.Int

func IntScan

func IntScan(z *big.Int, s fmt.ScanState, ch rune) error

func IntSet

func IntSet(z *big.Int, x *big.Int) *big.Int

func IntSetBit

func IntSetBit(z *big.Int, x *big.Int, i int, b uint) *big.Int

func IntSetBits

func IntSetBits(z *big.Int, abs []big.Word) *big.Int

func IntSetBytes

func IntSetBytes(z *big.Int, buf []byte) *big.Int

func IntSetString

func IntSetString(z *big.Int, s string, base int) (*big.Int, bool)

func IntSign

func IntSign(x *big.Int) int

func IntSqrt

func IntSqrt(z *big.Int, x *big.Int) *big.Int

func IntString

func IntString(x *big.Int) string

func IntSub

func IntSub(z *big.Int, x, y *big.Int) *big.Int

func IntText

func IntText(x *big.Int, base int) string

func IntTrailingZeroBits

func IntTrailingZeroBits(x *big.Int) uint

func IntUnmarshalJSON

func IntUnmarshalJSON(z *big.Int, text []byte) error

func IntUnmarshalText

func IntUnmarshalText(z *big.Int, text []byte) error

func IntXor

func IntXor(z *big.Int, x, y *big.Int) *big.Int

func Jacobi

func Jacobi(x, y *big.Int) int

func NewFloat

func NewFloat(x float64) *big.Float

func NewInt

func NewInt(x int64) *big.Int

func NewRat

func NewRat(a, b int64) *big.Rat

func ParseFloat

func ParseFloat(s string, base int, prec uint, mode big.RoundingMode) (*big.Float, int, error)

func RatAbs

func RatAbs(z *big.Rat, x *big.Rat) *big.Rat

func RatAdd

func RatAdd(z *big.Rat, x, y *big.Rat) *big.Rat

func RatCmp

func RatCmp(x *big.Rat, y *big.Rat) int

func RatDenom

func RatDenom(x *big.Rat) *big.Int

func RatFloatString

func RatFloatString(x *big.Rat, prec int) string

func RatGobDecode

func RatGobDecode(z *big.Rat, buf []byte) error

func RatGobEncode

func RatGobEncode(x *big.Rat) ([]byte, error)

func RatInv

func RatInv(z *big.Rat, x *big.Rat) *big.Rat

func RatIsInt

func RatIsInt(x *big.Rat) bool

func RatMarshalText

func RatMarshalText(x *big.Rat) ([]byte, error)

func RatMul

func RatMul(z *big.Rat, x, y *big.Rat) *big.Rat

func RatNeg

func RatNeg(z *big.Rat, x *big.Rat) *big.Rat

func RatNum

func RatNum(x *big.Rat) *big.Int

func RatQuo

func RatQuo(z *big.Rat, x, y *big.Rat) *big.Rat

func RatRatString

func RatRatString(x *big.Rat) string

func RatScan

func RatScan(z *big.Rat, s fmt.ScanState, ch rune) error

func RatSet

func RatSet(z *big.Rat, x *big.Rat) *big.Rat

func RatSetFrac

func RatSetFrac(z *big.Rat, a, b *big.Int) *big.Rat

func RatSetInt

func RatSetInt(z *big.Rat, x *big.Int) *big.Rat

func RatSetString

func RatSetString(z *big.Rat, s string) (*big.Rat, bool)

func RatSign

func RatSign(x *big.Rat) int

func RatString

func RatString(x *big.Rat) string

func RatSub

func RatSub(z *big.Rat, x, y *big.Rat) *big.Rat

func RatUnmarshalText

func RatUnmarshalText(z *big.Rat, text []byte) error

func RoundingModeString

func RoundingModeString(i big.RoundingMode) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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