MCPcopy Create free account
hub / github.com/andeya/algorithm / NewFCBig

Function NewFCBig

mathutil/rnd.go:216–276  ·  view source on GitHub ↗

NewFCBig returns a newly created FCBig adjusted for the closed interval [lo, hi] or an Error if any. If hq == true then trade some generation time for improved (pseudo)randomness.

(lo, hi *big.Int, hq bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 11

r64Function · 0.85
BenchmarkFCBig1e3Function · 0.85
BenchmarkFCBig1e6Function · 0.85
BenchmarkFCBig1e9Function · 0.85
BenchmarkFCBig1e12Function · 0.85
BenchmarkFCBig1e15Function · 0.85
BenchmarkFCBig1e18Function · 0.85
TestBig0Function · 0.85
TestBig1Function · 0.85
TestBig2Function · 0.85
BenchmarkModPowBigIntFunction · 0.85

Calls 9

NextPrimeFunction · 0.85
deleteFunction · 0.85
CmpMethod · 0.80
SubMethod · 0.80
AddMethod · 0.65
SetMethod · 0.65
MulMethod · 0.45
DivMethod · 0.45
SeedMethod · 0.45

Tested by 11

r64Function · 0.68
BenchmarkFCBig1e3Function · 0.68
BenchmarkFCBig1e6Function · 0.68
BenchmarkFCBig1e9Function · 0.68
BenchmarkFCBig1e12Function · 0.68
BenchmarkFCBig1e15Function · 0.68
BenchmarkFCBig1e18Function · 0.68
TestBig0Function · 0.68
TestBig1Function · 0.68
TestBig2Function · 0.68
BenchmarkModPowBigIntFunction · 0.68