Standard Library

GoMathBig

Go stdlib package — math/big. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.Accuracy.String()Neutral
#
Signature
Accuracy.String() string

Accuracy.String function.

.ErrNaN.Error()Neutral
#
Signature
ErrNaN.Error() string

ErrNaN.Error function.

.Float.Abs()Neutral
#
Signature
Float.Abs(x *Float) *Float

Abs sets z to the (possibly rounded) value |x| (the absolute value of x)

.Float.Acc()Neutral
#
Signature
Float.Acc() Accuracy

Acc returns the accuracy of x produced by the most recent

.Float.Add()Neutral
#
Signature
Float.Add(x *Float, y *Float) *Float

Add sets z to the rounded sum x+y and returns z. If z's precision is 0,

.Float.Append()Neutral
#
Signature
Float.Append(buf []byte, fmt byte, prec int) []byte

Append appends to buf the string form of the floating-point number x,

.Float.Cmp()Neutral
#
Signature
Float.Cmp(y *Float) int

Cmp compares x and y and returns:

.Float.Copy()Neutral
#
Signature
Float.Copy(x *Float) *Float

Copy sets z to x, with the same precision, rounding mode, and

.Float.Float32()Neutral
#
Signature
Float.Float32() (float32, Accuracy)

Float32 returns the float32 value nearest to x. If x is too small to be

.Float.Float64()Neutral
#
Signature
Float.Float64() (float64, Accuracy)

Float64 returns the float64 value nearest to x. If x is too small to be

Fully-Qualified Names

FQNField
math/bigfqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

go.mod
// standard library — no go.mod entry required
rule.py
from codepathfinder.go_rule import ...  # math/big