SYMBOL INDEX (429 symbols across 5 files) FILE: decimal.go type Decimal (line 15) | type Decimal struct method Int64 (line 216) | func (d Decimal) Int64(scale int) (whole, frac int64, ok bool) { method Float64 (line 280) | func (d Decimal) Float64() (f float64, ok bool) { method String (line 550) | func (d Decimal) String() string { method bytes (line 555) | func (d Decimal) bytes() []byte { method append (line 561) | func (d Decimal) append(text []byte) []byte { method UnmarshalJSON (line 606) | func (d *Decimal) UnmarshalJSON(data []byte) error { method MarshalJSON (line 627) | func (d Decimal) MarshalJSON() ([]byte, error) { method UnmarshalText (line 640) | func (d *Decimal) UnmarshalText(text []byte) error { method AppendText (line 654) | func (d Decimal) AppendText(text []byte) ([]byte, error) { method MarshalText (line 663) | func (d Decimal) MarshalText() ([]byte, error) { method UnmarshalBinary (line 672) | func (d *Decimal) UnmarshalBinary(data []byte) error { method AppendBinary (line 686) | func (d Decimal) AppendBinary(data []byte) ([]byte, error) { method MarshalBinary (line 695) | func (d Decimal) MarshalBinary() ([]byte, error) { method UnmarshalBSONValue (line 705) | func (d *Decimal) UnmarshalBSONValue(typ byte, data []byte) error { method MarshalBSONValue (line 735) | func (d Decimal) MarshalBSONValue() (typ byte, data []byte, err error) { method ieeeDecimal128 (line 866) | func (d Decimal) ieeeDecimal128() []byte { method Scan (line 893) | func (d *Decimal) Scan(value any) error { method Value (line 925) | func (d Decimal) Value() (driver.Value, error) { method Format (line 948) | func (d Decimal) Format(state fmt.State, verb rune) { method Zero (line 1124) | func (d Decimal) Zero() Decimal { method One (line 1130) | func (d Decimal) One() Decimal { method ULP (line 1138) | func (d Decimal) ULP() Decimal { method Prec (line 1144) | func (d Decimal) Prec() int { method Coef (line 1150) | func (d Decimal) Coef() uint64 { method Scale (line 1156) | func (d Decimal) Scale() int { method MinScale (line 1163) | func (d Decimal) MinScale() int { method IsInt (line 1174) | func (d Decimal) IsInt() bool { method IsOne (line 1182) | func (d Decimal) IsOne() bool { method WithinOne (line 1190) | func (d Decimal) WithinOne() bool { method Round (line 1202) | func (d Decimal) Round(scale int) Decimal { method Pad (line 1216) | func (d Decimal) Pad(scale int) Decimal { method Rescale (line 1235) | func (d Decimal) Rescale(scale int) Decimal { method Quantize (line 1245) | func (d Decimal) Quantize(e Decimal) Decimal { method SameScale (line 1251) | func (d Decimal) SameScale(e Decimal) bool { method Trunc (line 1262) | func (d Decimal) Trunc(scale int) Decimal { method Trim (line 1276) | func (d Decimal) Trim(scale int) Decimal { method Ceil (line 1292) | func (d Decimal) Ceil(scale int) Decimal { method Floor (line 1314) | func (d Decimal) Floor(scale int) Decimal { method Neg (line 1329) | func (d Decimal) Neg() Decimal { method Abs (line 1334) | func (d Decimal) Abs() Decimal { method CopySign (line 1341) | func (d Decimal) CopySign(e Decimal) Decimal { method Sign (line 1355) | func (d Decimal) Sign() int { method IsPos (line 1369) | func (d Decimal) IsPos() bool { method IsNeg (line 1377) | func (d Decimal) IsNeg() bool { method IsZero (line 1385) | func (d Decimal) IsZero() bool { method Mul (line 1621) | func (d Decimal) Mul(e Decimal) (Decimal, error) { method MulExact (line 1631) | func (d Decimal) MulExact(e Decimal, scale int) (Decimal, error) { method mulFint (line 1648) | func (d Decimal) mulFint(e Decimal, minScale int) (Decimal, error) { method mulBint (line 1667) | func (d Decimal) mulBint(e Decimal, minScale int) (Decimal, error) { method Pow (line 1694) | func (d Decimal) Pow(e Decimal) (Decimal, error) { method powBint (line 1739) | func (d Decimal) powBint(e Decimal) (Decimal, error) { method PowInt (line 1795) | func (d Decimal) PowInt(power int) (Decimal, error) { method powIntFint (line 1834) | func (d Decimal) powIntFint(pow uint64, inv bool) (Decimal, error) { method powIntBint (line 1879) | func (d Decimal) powIntBint(pow uint64, inv bool) (Decimal, error) { method Sqrt (line 1959) | func (d Decimal) Sqrt() (Decimal, error) { method sqrtBint (line 1983) | func (d Decimal) sqrtBint() (Decimal, error) { method Log2 (line 2021) | func (d Decimal) Log2() (Decimal, error) { method log2Bint (line 2049) | func (d Decimal) log2Bint() (Decimal, error) { method Log10 (line 2081) | func (d Decimal) Log10() (Decimal, error) { method log10Bint (line 2109) | func (d Decimal) log10Bint() (Decimal, error) { method Log1p (line 2141) | func (d Decimal) Log1p() (Decimal, error) { method log1pBint (line 2161) | func (d Decimal) log1pBint() (Decimal, error) { method Log (line 2192) | func (d Decimal) Log() (Decimal, error) { method logBint (line 2213) | func (d Decimal) logBint() (Decimal, error) { method Exp (line 2286) | func (d Decimal) Exp() (Decimal, error) { method expBint (line 2310) | func (d Decimal) expBint() (Decimal, error) { method Expm1 (line 2339) | func (d Decimal) Expm1() (Decimal, error) { method expm1Bint (line 2363) | func (d Decimal) expm1Bint() (Decimal, error) { method SubAbs (line 2556) | func (d Decimal) SubAbs(e Decimal) (Decimal, error) { method Sub (line 2567) | func (d Decimal) Sub(e Decimal) (Decimal, error) { method SubExact (line 2576) | func (d Decimal) SubExact(e Decimal, scale int) (Decimal, error) { method Add (line 2583) | func (d Decimal) Add(e Decimal) (Decimal, error) { method AddExact (line 2592) | func (d Decimal) AddExact(e Decimal, scale int) (Decimal, error) { method addFint (line 2610) | func (d Decimal) addFint(e Decimal, minScale int) (Decimal, error) { method addBint (line 2650) | func (d Decimal) addBint(e Decimal, minScale int) (Decimal, error) { method SubMul (line 2692) | func (d Decimal) SubMul(e, f Decimal) (Decimal, error) { method SubMulExact (line 2701) | func (d Decimal) SubMulExact(e, f Decimal, scale int) (Decimal, error) { method AddMul (line 2713) | func (d Decimal) AddMul(e, f Decimal) (Decimal, error) { method AddMulExact (line 2722) | func (d Decimal) AddMulExact(e, f Decimal, scale int) (Decimal, error) { method addMulFint (line 2740) | func (d Decimal) addMulFint(e, f Decimal, minScale int) (Decimal, erro... method addMulBint (line 2792) | func (d Decimal) addMulBint(e, f Decimal, minScale int) (Decimal, erro... method SubQuo (line 2845) | func (d Decimal) SubQuo(e, f Decimal) (Decimal, error) { method SubQuoExact (line 2854) | func (d Decimal) SubQuoExact(e, f Decimal, scale int) (Decimal, error) { method AddQuo (line 2866) | func (d Decimal) AddQuo(e, f Decimal) (Decimal, error) { method AddQuoExact (line 2875) | func (d Decimal) AddQuoExact(e, f Decimal, scale int) (Decimal, error) { method addQuoFint (line 2908) | func (d Decimal) addQuoFint(e, f Decimal, minScale int) (Decimal, erro... method addQuoBint (line 2977) | func (d Decimal) addQuoBint(e, f Decimal, minScale int) (Decimal, erro... method Inv (line 3021) | func (d Decimal) Inv() (Decimal, error) { method Quo (line 3034) | func (d Decimal) Quo(e Decimal) (Decimal, error) { method QuoExact (line 3043) | func (d Decimal) QuoExact(e Decimal, scale int) (Decimal, error) { method quoFint (line 3076) | func (d Decimal) quoFint(e Decimal, minScale int) (Decimal, error) { method quoBint (line 3109) | func (d Decimal) quoBint(e Decimal, minScale int) (Decimal, error) { method QuoRem (line 3137) | func (d Decimal) QuoRem(e Decimal) (q, r Decimal, err error) { method quoRemFint (line 3156) | func (d Decimal) quoRemFint(e Decimal) (q, r Decimal, err error) { method quoRemBint (line 3197) | func (d Decimal) quoRemBint(e Decimal) (q, r Decimal, err error) { method Max (line 3241) | func (d Decimal) Max(e Decimal) Decimal { method Min (line 3250) | func (d Decimal) Min(e Decimal) Decimal { method Clamp (line 3268) | func (d Decimal) Clamp(min, max Decimal) (Decimal, error) { method CmpTotal (line 3295) | func (d Decimal) CmpTotal(e Decimal) int { method CmpAbs (line 3318) | func (d Decimal) CmpAbs(e Decimal) int { method Equal (line 3329) | func (d Decimal) Equal(e Decimal) bool { method Less (line 3339) | func (d Decimal) Less(e Decimal) bool { method Cmp (line 3350) | func (d Decimal) Cmp(e Decimal) int { method cmpFint (line 3368) | func (d Decimal) cmpFint(e Decimal) (int, error) { method cmpBint (line 3398) | func (d Decimal) cmpBint(e Decimal) int { constant MaxPrec (line 22) | MaxPrec = 19 constant MinScale (line 23) | MinScale = 0 constant MaxScale (line 24) | MaxScale = 19 constant maxCoef (line 25) | maxCoef = maxFint function newUnsafe (line 48) | func newUnsafe(neg bool, coef fint, scale int) Decimal { function newSafe (line 57) | func newSafe(neg bool, coef fint, scale int) (Decimal, error) { function newFromFint (line 70) | func newFromFint(neg bool, coef fint, scale, minScale int) (Decimal, err... function newFromBint (line 89) | func newFromBint(neg bool, coef *bint, scale, minScale int) (Decimal, er... function overflowError (line 115) | func overflowError(gotPrec, gotScale, wantScale int) error { function unknownOverflowError (line 126) | func unknownOverflowError() error { function MustNew (line 132) | func MustNew(value int64, scale int) Decimal { function New (line 144) | func New(value int64, scale int) (Decimal, error) { function NewFromInt64 (line 173) | func NewFromInt64(whole, frac int64, scale int) (Decimal, error) { function NewFromFloat64 (line 256) | func NewFromFloat64(f float64) (Decimal, error) { function MustParse (line 291) | func MustParse(s string) Decimal { function Parse (line 325) | func Parse(s string) (Decimal, error) { function parse (line 330) | func parse(text []byte) (Decimal, error) { function ParseExact (line 339) | func ParseExact(s string, scale int) (Decimal, error) { function parseExact (line 344) | func parseExact(text []byte, scale int) (Decimal, error) { function parseFint (line 365) | func parseFint(text []byte, minScale int) (Decimal, error) { function parseBint (line 423) | func parseBint(text []byte, minScale int) (Decimal, error) { function parseBSONInt32 (line 741) | func parseBSONInt32(data []byte) (Decimal, error) { function parseBSONInt64 (line 755) | func parseBSONInt64(data []byte) (Decimal, error) { function parseBSONFloat64 (line 773) | func parseBSONFloat64(data []byte) (Decimal, error) { function parseBSONString (line 791) | func parseBSONString(data []byte) (Decimal, error) { function parseIEEEDecimal128 (line 819) | func parseIEEEDecimal128(data []byte) (Decimal, error) { function Prod (line 1396) | func Prod(d ...Decimal) (Decimal, error) { function prodFint (line 1418) | func prodFint(d ...Decimal) (Decimal, error) { function prodBint (line 1440) | func prodBint(d ...Decimal) (Decimal, error) { function Mean (line 1481) | func Mean(d ...Decimal) (Decimal, error) { function meanFint (line 1510) | func meanFint(d ...Decimal) (Decimal, error) { function meanBint (line 1570) | func meanBint(d ...Decimal) (Decimal, error) { method log (line 2242) | func (z *bint) log(x *bint) { method exp (line 2400) | func (z *bint) exp(x *bint) { function Sum (line 2452) | func Sum(d ...Decimal) (Decimal, error) { function sumFint (line 2474) | func sumFint(d ...Decimal) (Decimal, error) { function sumBint (line 2516) | func sumBint(d ...Decimal) (Decimal, error) { type NullDecimal (line 3429) | type NullDecimal struct method Scan (line 3438) | func (n *NullDecimal) Scan(value any) error { method Value (line 3452) | func (n NullDecimal) Value() (driver.Value, error) { method UnmarshalJSON (line 3463) | func (n *NullDecimal) UnmarshalJSON(data []byte) error { method MarshalJSON (line 3477) | func (n NullDecimal) MarshalJSON() ([]byte, error) { method UnmarshalBSONValue (line 3491) | func (n *NullDecimal) UnmarshalBSONValue(typ byte, data []byte) error { method MarshalBSONValue (line 3509) | func (n NullDecimal) MarshalBSONValue() (typ byte, data []byte, err er... FILE: decimal_test.go function TestDecimal_ZeroValue (line 16) | func TestDecimal_ZeroValue(t *testing.T) { function TestDecimal_Size (line 24) | func TestDecimal_Size(t *testing.T) { function TestDecimal_Interfaces (line 33) | func TestDecimal_Interfaces(t *testing.T) { function TestNew (line 90) | func TestNew(t *testing.T) { function TestMustNew (line 151) | func TestMustNew(t *testing.T) { function TestNewFromInt64 (line 162) | func TestNewFromInt64(t *testing.T) { function TestNewFromFloat64 (line 228) | func TestNewFromFloat64(t *testing.T) { function TestParse (line 322) | func TestParse(t *testing.T) { function TestMustParse (line 513) | func TestMustParse(t *testing.T) { function TestDecimalUnmarshalText (line 524) | func TestDecimalUnmarshalText(t *testing.T) { function TestDecimalUnmarshalBinary (line 534) | func TestDecimalUnmarshalBinary(t *testing.T) { function TestDecimalUnmarshalJSON (line 544) | func TestDecimalUnmarshalJSON(t *testing.T) { function TestDecimalUnmarshalBSONValue (line 581) | func TestDecimalUnmarshalBSONValue(t *testing.T) { function TestParseBSONFloat64 (line 618) | func TestParseBSONFloat64(t *testing.T) { function TestParseBSONString (line 676) | func TestParseBSONString(t *testing.T) { function TestParseBSONInt32 (line 725) | func TestParseBSONInt32(t *testing.T) { function TestParseBSONInt64 (line 768) | func TestParseBSONInt64(t *testing.T) { function TestParseIEEEDecimal128 (line 811) | func TestParseIEEEDecimal128(t *testing.T) { function TestDecimal_IEEEDecimal128 (line 1204) | func TestDecimal_IEEEDecimal128(t *testing.T) { function TestDecimal_String (line 1255) | func TestDecimal_String(t *testing.T) { function TestDecimal_Float64 (line 1311) | func TestDecimal_Float64(t *testing.T) { function TestDecimal_Int64 (line 1337) | func TestDecimal_Int64(t *testing.T) { function TestDecimal_Scan (line 1454) | func TestDecimal_Scan(t *testing.T) { function TestDecimal_Format (line 1615) | func TestDecimal_Format(t *testing.T) { function TestDecimal_Prec (line 1738) | func TestDecimal_Prec(t *testing.T) { function TestDecimal_Rescale (line 1819) | func TestDecimal_Rescale(t *testing.T) { function TestDecimal_Quantize (line 1917) | func TestDecimal_Quantize(t *testing.T) { function TestDecimal_Pad (line 1954) | func TestDecimal_Pad(t *testing.T) { function TestDecimal_Round (line 2008) | func TestDecimal_Round(t *testing.T) { function TestDecimal_Trunc (line 2094) | func TestDecimal_Trunc(t *testing.T) { function TestDecimal_Ceil (line 2179) | func TestDecimal_Ceil(t *testing.T) { function TestDecimal_Floor (line 2275) | func TestDecimal_Floor(t *testing.T) { function TestDecimal_MinScale (line 2371) | func TestDecimal_MinScale(t *testing.T) { function TestDecimal_Trim (line 2406) | func TestDecimal_Trim(t *testing.T) { function TestSum (line 2434) | func TestSum(t *testing.T) { function TestDecimal_Add (line 2534) | func TestDecimal_Add(t *testing.T) { function TestDecimal_Sub (line 2630) | func TestDecimal_Sub(t *testing.T) { function TestDecimal_SubAbs (line 2661) | func TestDecimal_SubAbs(t *testing.T) { function TestProd (line 2710) | func TestProd(t *testing.T) { function TestMean (line 2792) | func TestMean(t *testing.T) { function TestDecimal_Mul (line 2898) | func TestDecimal_Mul(t *testing.T) { function TestDecimal_AddMul (line 2969) | func TestDecimal_AddMul(t *testing.T) { function TestDecimal_AddQuo (line 3117) | func TestDecimal_AddQuo(t *testing.T) { function TestDecimal_Pow (line 3247) | func TestDecimal_Pow(t *testing.T) { function TestDecimal_PowInt (line 3722) | func TestDecimal_PowInt(t *testing.T) { function TestDecimal_Sqrt (line 3991) | func TestDecimal_Sqrt(t *testing.T) { function TestDecimal_Exp (line 4138) | func TestDecimal_Exp(t *testing.T) { function TestDecimal_Expm1 (line 4460) | func TestDecimal_Expm1(t *testing.T) { function TestDecimal_Log (line 4735) | func TestDecimal_Log(t *testing.T) { function TestDecimal_Log1p (line 4999) | func TestDecimal_Log1p(t *testing.T) { function TestDecimal_Log2 (line 5176) | func TestDecimal_Log2(t *testing.T) { function TestDecimal_Log10 (line 5453) | func TestDecimal_Log10(t *testing.T) { function TestDecimal_Abs (line 5644) | func TestDecimal_Abs(t *testing.T) { function TestDecimal_CopySign (line 5666) | func TestDecimal_CopySign(t *testing.T) { function TestDecimal_Neg (line 5691) | func TestDecimal_Neg(t *testing.T) { function TestDecimal_Quo (line 5713) | func TestDecimal_Quo(t *testing.T) { function TestDecimal_Inv (line 5858) | func TestDecimal_Inv(t *testing.T) { function TestDecimal_QuoRem (line 5901) | func TestDecimal_QuoRem(t *testing.T) { function TestDecimal_Cmp (line 6051) | func TestDecimal_Cmp(t *testing.T) { function TestDecimal_Max (line 6102) | func TestDecimal_Max(t *testing.T) { function TestDecimal_Min (line 6151) | func TestDecimal_Min(t *testing.T) { function TestDecimal_Clamp (line 6201) | func TestDecimal_Clamp(t *testing.T) { function TestNullDecimal_Interfaces (line 6264) | func TestNullDecimal_Interfaces(t *testing.T) { function TestNullDecimal_Scan (line 6278) | func TestNullDecimal_Scan(t *testing.T) { function FuzzParse (line 6320) | func FuzzParse(f *testing.F) { function FuzzBSON (line 6352) | func FuzzBSON(f *testing.F) { function FuzzDecimal_String_Parse (line 6365) | func FuzzDecimal_String_Parse(f *testing.F) { function FuzzDecimal_IEEE_ParseIEEE (line 6395) | func FuzzDecimal_IEEE_ParseIEEE(f *testing.F) { function FuzzDecimal_Binary_Text (line 6427) | func FuzzDecimal_Binary_Text(f *testing.F) { function FuzzDecimal_Text_Binary (line 6465) | func FuzzDecimal_Text_Binary(f *testing.F) { function FuzzDecimal_Int64_NewFromInt64 (line 6503) | func FuzzDecimal_Int64_NewFromInt64(f *testing.F) { function FuzzDecimal_Float64_NewFromFloat64 (line 6541) | func FuzzDecimal_Float64_NewFromFloat64(f *testing.F) { function FuzzDecimal_Mul (line 6576) | func FuzzDecimal_Mul(f *testing.F) { function FuzzDecimal_Mul_Prod (line 6617) | func FuzzDecimal_Mul_Prod(f *testing.F) { function FuzzDecimal_AddMul (line 6656) | func FuzzDecimal_AddMul(f *testing.F) { function FuzzDecimal_Add_AddMul (line 6704) | func FuzzDecimal_Add_AddMul(f *testing.F) { function FuzzDecimal_Mul_AddMul (line 6746) | func FuzzDecimal_Mul_AddMul(f *testing.F) { function FuzzDecimal_AddQuo (line 6787) | func FuzzDecimal_AddQuo(f *testing.F) { function FuzzDecimal_Add_AddQuo (line 6835) | func FuzzDecimal_Add_AddQuo(f *testing.F) { function FuzzDecimal_Quo_AddQuo (line 6877) | func FuzzDecimal_Quo_AddQuo(f *testing.F) { function FuzzDecimal_Add (line 6918) | func FuzzDecimal_Add(f *testing.F) { function FuzzDecimal_Add_Sum (line 6959) | func FuzzDecimal_Add_Sum(f *testing.F) { function FuzzDecimal_Quo (line 6998) | func FuzzDecimal_Quo(f *testing.F) { function FuzzDecimal_QuoRem (line 7039) | func FuzzDecimal_QuoRem(f *testing.F) { function FuzzDecimal_Cmp (line 7087) | func FuzzDecimal_Cmp(f *testing.F) { function FuzzDecimal_Sqrt_PowInt (line 7123) | func FuzzDecimal_Sqrt_PowInt(f *testing.F) { function FuzzDecimal_Pow_Sqrt (line 7159) | func FuzzDecimal_Pow_Sqrt(f *testing.F) { function FuzzDecimal_Pow_PowInt (line 7193) | func FuzzDecimal_Pow_PowInt(f *testing.F) { function FuzzDecimal_Pow_Exp (line 7233) | func FuzzDecimal_Pow_Exp(f *testing.F) { function FuzzDecimal_Log_Exp (line 7268) | func FuzzDecimal_Log_Exp(f *testing.F) { function FuzzDecimal_Expm1_Exp (line 7305) | func FuzzDecimal_Expm1_Exp(f *testing.F) { function FuzzDecimal_Log1p_Log (line 7346) | func FuzzDecimal_Log1p_Log(f *testing.F) { function cmpULP (line 7388) | func cmpULP(d, e Decimal, ulps int) (int, error) { function FuzzDecimal_Sub_Cmp (line 7408) | func FuzzDecimal_Sub_Cmp(f *testing.F) { function FuzzDecimal_New (line 7445) | func FuzzDecimal_New(f *testing.F) { function FuzzDecimal_Pad (line 7477) | func FuzzDecimal_Pad(f *testing.F) { function FuzzDecimal_Trim (line 7508) | func FuzzDecimal_Trim(f *testing.F) { FILE: doc_test.go function Example_postfixCalculator (line 21) | func Example_postfixCalculator() { function evaluate (line 27) | func evaluate(input string) (decimal.Decimal, error) { function Example_piApproximation (line 74) | func Example_piApproximation() { function approximate (line 82) | func approximate(terms int) (decimal.Decimal, error) { function Example_floatInaccuracy (line 107) | func Example_floatInaccuracy() { function ExampleSum (line 120) | func ExampleSum() { function ExampleMean (line 128) | func ExampleMean() { function ExampleProd (line 136) | func ExampleProd() { function ExampleMustNew (line 144) | func ExampleMustNew() { function ExampleNew (line 158) | func ExampleNew() { function ExampleNewFromInt64 (line 172) | func ExampleNewFromInt64() { function ExampleNewFromFloat64 (line 186) | func ExampleNewFromFloat64() { function ExampleDecimal_Zero (line 200) | func ExampleDecimal_Zero() { function ExampleDecimal_One (line 213) | func ExampleDecimal_One() { function ExampleDecimal_ULP (line 226) | func ExampleDecimal_ULP() { function ExampleParse (line 239) | func ExampleParse() { function ExampleParseExact (line 244) | func ExampleParseExact() { function ExampleMustParse (line 258) | func ExampleMustParse() { function ExampleDecimal_String (line 263) | func ExampleDecimal_String() { function ExampleDecimal_UnmarshalBinary_gob (line 269) | func ExampleDecimal_UnmarshalBinary_gob() { function unmarshalGOB (line 284) | func unmarshalGOB(data []byte) (decimal.Decimal, error) { function ExampleDecimal_AppendBinary (line 294) | func ExampleDecimal_AppendBinary() { function ExampleDecimal_MarshalBinary_gob (line 305) | func ExampleDecimal_MarshalBinary_gob() { function marshalGOB (line 312) | func marshalGOB(s string) ([]byte, error) { function ExampleDecimal_Float64 (line 326) | func ExampleDecimal_Float64() { function ExampleDecimal_Int64 (line 339) | func ExampleDecimal_Int64() { function ExampleDecimal_UnmarshalBSONValue_bson (line 354) | func ExampleDecimal_UnmarshalBSONValue_bson() { function ExampleDecimal_MarshalBSONValue_bson (line 369) | func ExampleDecimal_MarshalBSONValue_bson() { type Account (line 377) | type Account struct function ExampleDecimal_UnmarshalJSON_json (line 381) | func ExampleDecimal_UnmarshalJSON_json() { function unmarshalJSON (line 393) | func unmarshalJSON(s string) (Account, error) { function ExampleDecimal_MarshalJSON_json (line 402) | func ExampleDecimal_MarshalJSON_json() { function marshalJSON (line 410) | func marshalJSON(s string) (string, error) { type Transaction (line 422) | type Transaction struct function ExampleDecimal_UnmarshalText_xml (line 426) | func ExampleDecimal_UnmarshalText_xml() { function unmarshalXML (line 438) | func unmarshalXML(s string) (Transaction, error) { function ExampleDecimal_AppendText (line 444) | func ExampleDecimal_AppendText() { function ExampleDecimal_MarshalText_xml (line 455) | func ExampleDecimal_MarshalText_xml() { function marshalXML (line 467) | func marshalXML(s string) (string, error) { function ExampleDecimal_Scan (line 479) | func ExampleDecimal_Scan() { function ExampleDecimal_Value (line 486) | func ExampleDecimal_Value() { function ExampleDecimal_Format (line 492) | func ExampleDecimal_Format() { function ExampleDecimal_Coef (line 501) | func ExampleDecimal_Coef() { function ExampleDecimal_Prec (line 514) | func ExampleDecimal_Prec() { function ExampleDecimal_Mul (line 527) | func ExampleDecimal_Mul() { function ExampleDecimal_MulExact (line 534) | func ExampleDecimal_MulExact() { function ExampleDecimal_SubMul (line 550) | func ExampleDecimal_SubMul() { function ExampleDecimal_SubMulExact (line 558) | func ExampleDecimal_SubMulExact() { function ExampleDecimal_AddMul (line 575) | func ExampleDecimal_AddMul() { function ExampleDecimal_AddMulExact (line 583) | func ExampleDecimal_AddMulExact() { function ExampleDecimal_SubQuo (line 600) | func ExampleDecimal_SubQuo() { function ExampleDecimal_SubQuoExact (line 608) | func ExampleDecimal_SubQuoExact() { function ExampleDecimal_AddQuo (line 625) | func ExampleDecimal_AddQuo() { function ExampleDecimal_AddQuoExact (line 633) | func ExampleDecimal_AddQuoExact() { function ExampleDecimal_Pow (line 650) | func ExampleDecimal_Pow() { function ExampleDecimal_PowInt (line 661) | func ExampleDecimal_PowInt() { function ExampleDecimal_Sqrt (line 676) | func ExampleDecimal_Sqrt() { function ExampleDecimal_Exp (line 692) | func ExampleDecimal_Exp() { function ExampleDecimal_Expm1 (line 705) | func ExampleDecimal_Expm1() { function ExampleDecimal_Log (line 718) | func ExampleDecimal_Log() { function ExampleDecimal_Log1p (line 734) | func ExampleDecimal_Log1p() { function ExampleDecimal_Log2 (line 750) | func ExampleDecimal_Log2() { function ExampleDecimal_Log10 (line 766) | func ExampleDecimal_Log10() { function ExampleDecimal_Add (line 782) | func ExampleDecimal_Add() { function ExampleDecimal_AddExact (line 789) | func ExampleDecimal_AddExact() { function ExampleDecimal_Sub (line 805) | func ExampleDecimal_Sub() { function ExampleDecimal_SubAbs (line 815) | func ExampleDecimal_SubAbs() { function ExampleDecimal_SubExact (line 825) | func ExampleDecimal_SubExact() { function ExampleDecimal_Quo (line 841) | func ExampleDecimal_Quo() { function ExampleDecimal_QuoExact (line 848) | func ExampleDecimal_QuoExact() { function ExampleDecimal_QuoRem (line 864) | func ExampleDecimal_QuoRem() { function ExampleDecimal_Inv (line 871) | func ExampleDecimal_Inv() { function ExampleDecimal_Less (line 877) | func ExampleDecimal_Less() { function ExampleDecimal_Equal (line 887) | func ExampleDecimal_Equal() { function ExampleDecimal_Equal_slices (line 897) | func ExampleDecimal_Equal_slices() { function ExampleDecimal_Cmp (line 910) | func ExampleDecimal_Cmp() { function ExampleDecimal_Cmp_slices (line 922) | func ExampleDecimal_Cmp_slices() { function ExampleDecimal_CmpAbs (line 944) | func ExampleDecimal_CmpAbs() { function ExampleDecimal_CmpAbs_slices (line 956) | func ExampleDecimal_CmpAbs_slices() { function ExampleDecimal_CmpTotal (line 978) | func ExampleDecimal_CmpTotal() { function ExampleDecimal_CmpTotal_slices (line 990) | func ExampleDecimal_CmpTotal_slices() { function ExampleDecimal_Max (line 1012) | func ExampleDecimal_Max() { function ExampleDecimal_Min (line 1019) | func ExampleDecimal_Min() { function ExampleDecimal_Clamp (line 1027) | func ExampleDecimal_Clamp() { function ExampleDecimal_Rescale (line 1042) | func ExampleDecimal_Rescale() { function ExampleDecimal_Quantize (line 1057) | func ExampleDecimal_Quantize() { function ExampleDecimal_Pad (line 1071) | func ExampleDecimal_Pad() { function ExampleDecimal_Round (line 1086) | func ExampleDecimal_Round() { function ExampleDecimal_Trunc (line 1101) | func ExampleDecimal_Trunc() { function ExampleDecimal_Ceil (line 1116) | func ExampleDecimal_Ceil() { function ExampleDecimal_Floor (line 1131) | func ExampleDecimal_Floor() { function ExampleDecimal_Scale (line 1146) | func ExampleDecimal_Scale() { function ExampleDecimal_SameScale (line 1156) | func ExampleDecimal_SameScale() { function ExampleDecimal_MinScale (line 1167) | func ExampleDecimal_MinScale() { function ExampleDecimal_Trim (line 1177) | func ExampleDecimal_Trim() { function ExampleDecimal_Abs (line 1192) | func ExampleDecimal_Abs() { function ExampleDecimal_CopySign (line 1198) | func ExampleDecimal_CopySign() { function ExampleDecimal_Neg (line 1208) | func ExampleDecimal_Neg() { function ExampleDecimal_Sign (line 1214) | func ExampleDecimal_Sign() { function ExampleDecimal_IsNeg (line 1227) | func ExampleDecimal_IsNeg() { function ExampleDecimal_IsNeg_slices (line 1240) | func ExampleDecimal_IsNeg_slices() { function ExampleDecimal_IsPos (line 1255) | func ExampleDecimal_IsPos() { function ExampleDecimal_IsPos_slices (line 1268) | func ExampleDecimal_IsPos_slices() { function ExampleDecimal_IsZero (line 1283) | func ExampleDecimal_IsZero() { function ExampleDecimal_IsZero_slices (line 1296) | func ExampleDecimal_IsZero_slices() { function ExampleDecimal_IsInt (line 1311) | func ExampleDecimal_IsInt() { function ExampleDecimal_IsInt_slices (line 1321) | func ExampleDecimal_IsInt_slices() { function ExampleDecimal_IsOne (line 1336) | func ExampleDecimal_IsOne() { function ExampleDecimal_IsOne_slices (line 1346) | func ExampleDecimal_IsOne_slices() { function ExampleDecimal_WithinOne (line 1361) | func ExampleDecimal_WithinOne() { function ExampleDecimal_WithinOne_slices (line 1377) | func ExampleDecimal_WithinOne_slices() { function ExampleNullDecimal_Scan (line 1392) | func ExampleNullDecimal_Scan() { function ExampleNullDecimal_Value (line 1405) | func ExampleNullDecimal_Value() { function ExampleNullDecimal_UnmarshalJSON_json (line 1421) | func ExampleNullDecimal_UnmarshalJSON_json() { function ExampleNullDecimal_MarshalJSON_json (line 1434) | func ExampleNullDecimal_MarshalJSON_json() { function ExampleNullDecimal_UnmarshalBSONValue_bson (line 1452) | func ExampleNullDecimal_UnmarshalBSONValue_bson() { function ExampleNullDecimal_MarshalBSONValue_bson (line 1471) | func ExampleNullDecimal_MarshalBSONValue_bson() { FILE: integer.go type fint (line 10) | type fint method add (line 40) | func (x fint) add(y fint) (z fint, ok bool) { method mul (line 49) | func (x fint) mul(y fint) (z fint, ok bool) { method quo (line 64) | func (x fint) quo(y fint) (z fint, ok bool) { method quoRem (line 76) | func (x fint) quoRem(y fint) (q, r fint, ok bool) { method subAbs (line 86) | func (x fint) subAbs(y fint) fint { method lsh (line 94) | func (x fint) lsh(shift int) (z fint, ok bool) { method fsa (line 110) | func (x fint) fsa(shift int, b byte) (z fint, ok bool) { method isOdd (line 122) | func (x fint) isOdd() bool { method rshHalfEven (line 128) | func (x fint) rshHalfEven(shift int) fint { method rshUp (line 150) | func (x fint) rshUp(shift int) fint { method rshDown (line 171) | func (x fint) rshDown(shift int) fint { method prec (line 188) | func (x fint) prec() int { method ntz (line 203) | func (x fint) ntz() int { method hasPrec (line 220) | func (x fint) hasPrec(prec int) bool { constant maxFint (line 13) | maxFint = 9_999_999_999_999_999_999 type bint (line 233) | type bint method sign (line 770) | func (z *bint) sign() int { method cmp (line 774) | func (z *bint) cmp(x *bint) int { method string (line 778) | func (z *bint) string() string { method setBint (line 782) | func (z *bint) setBint(x *bint) { method setInt64 (line 786) | func (z *bint) setInt64(x int64) { method setBytes (line 790) | func (z *bint) setBytes(buf []byte) { method setFint (line 794) | func (z *bint) setFint(x fint) { method fint (line 800) | func (z *bint) fint() fint { method add (line 806) | func (z *bint) add(x, y *bint) { method inc (line 811) | func (z *bint) inc(x *bint) { method sub (line 817) | func (z *bint) sub(x, y *bint) { method subAbs (line 822) | func (z *bint) subAbs(x, y *bint) { method dbl (line 832) | func (z *bint) dbl(x *bint) { method hlf (line 837) | func (z *bint) hlf(x *bint) { method mul (line 842) | func (z *bint) mul(x, y *bint) { method pow (line 861) | func (z *bint) pow(x, y *bint) { method pow10 (line 867) | func (z *bint) pow10(power int) { method quo (line 878) | func (z *bint) quo(x, y *bint) { method quoRem (line 886) | func (z *bint) quoRem(x, y, r *bint) { method isOdd (line 890) | func (z *bint) isOdd() bool { method lsh (line 895) | func (z *bint) lsh(x *bint, shift int) { method fsa (line 908) | func (z *bint) fsa(x *bint, shift int, f fint) { method rshDown (line 918) | func (z *bint) rshDown(x *bint, shift int) { method rshHalfEven (line 942) | func (z *bint) rshHalfEven(x *bint, shift int) { method prec (line 982) | func (z *bint) prec() int { method hasPrec (line 1006) | func (z *bint) hasPrec(prec int) bool { constant bscale (line 443) | bscale = 41 function mustParseBint (line 759) | func mustParseBint(s string) *bint { function getBint (line 1026) | func getBint() *bint { function putBint (line 1031) | func putBint(b *bint) { FILE: integer_test.go function TestFint_add (line 8) | func TestFint_add(t *testing.T) { function TestFint_mul (line 25) | func TestFint_mul(t *testing.T) { function TestFint_quo (line 43) | func TestFint_quo(t *testing.T) { function TestFint_quoRem (line 64) | func TestFint_quoRem(t *testing.T) { function TestFint_subAbs (line 85) | func TestFint_subAbs(t *testing.T) { function TestFint_lsh (line 107) | func TestFint_lsh(t *testing.T) { function TestFint_fsa (line 129) | func TestFint_fsa(t *testing.T) { function TestFint_rshHalfEven (line 153) | func TestFint_rshHalfEven(t *testing.T) { function TestFint_rshUp (line 237) | func TestFint_rshUp(t *testing.T) { function TestFint_rshDown (line 295) | func TestFint_rshDown(t *testing.T) { function TestFint_prec (line 353) | func TestFint_prec(t *testing.T) { function TestFint_ntz (line 408) | func TestFint_ntz(t *testing.T) { function TestFint_hasPrec (line 464) | func TestFint_hasPrec(t *testing.T) { function TestBint_rshDown (line 530) | func TestBint_rshDown(t *testing.T) { function TestBint_rshHalfEven (line 614) | func TestBint_rshHalfEven(t *testing.T) { function TestBint_lsh (line 698) | func TestBint_lsh(t *testing.T) { function TestBint_prec (line 719) | func TestBint_prec(t *testing.T) { function TestBint_hasPrec (line 936) | func TestBint_hasPrec(t *testing.T) {