INNER CODE UNIT · Go
func
ericlagergren/decimal · big.go:272
func (x *Big) isCompact() bool { return x.compact != c.Inflated }
func (x *Big) isInflated() bool { return !x.isCompact() }
func (x *Big) isSpecial() bool { return x.form&special != 0 }
// isZero reports whether x is zero.
//
// Only use after checking for specials.
func (x *Big) isZero() bool {
if debug {
if x.isSpecial() {
panic("isZero called on a special value")
}
}
return x.compact == 0
}
// adjusted returns the adjusted exponent.
//