INNER CODE UNIT · Go
form
ericlagergren/decimal · big.go:94
finite form = 0 // default, all zeros; do not re-order this constant.
signbit form = 1 << 0 // do not assign this; used to check for signedness.
pinf form = 1 << 1 // may compare with ==, &, etc.
ninf form = pinf | signbit // may compare with ==, &, etc.
inf form = pinf // do not assign this; used to check for either infinity.
snan form = 1 << 2 // compare with bitwise & only due to ssnan
qnan form = 1 << 3 // compare with bitwise & only due to sqnan
ssnan form = snan | signbit // primarily for printing, signbit
sqnan form = qnan | signbit // primarily for printing, signbit
nan form = snan | qnan // do not assign this; used to check for either NaN.
special = inf | nan // do not assign this; used to check for a special value.
)
func (f form) String() string {