kubernetes/vendor/golang.org/x/text/internal/number/format.go

type VisibleDigits

type Formatter

func (f *Formatter) init(t language.Tag, index []uint8) {}

// InitPattern initializes a Formatter for the given Pattern.
func (f *Formatter) InitPattern(t language.Tag, pat *Pattern) {}

// InitDecimal initializes a Formatter using the default Pattern for the given
// language.
func (f *Formatter) InitDecimal(t language.Tag) {}

// InitScientific initializes a Formatter using the default Pattern for the
// given language.
func (f *Formatter) InitScientific(t language.Tag) {}

// InitEngineering initializes a Formatter using the default Pattern for the
// given language.
func (f *Formatter) InitEngineering(t language.Tag) {}

// InitPercent initializes a Formatter using the default Pattern for the given
// language.
func (f *Formatter) InitPercent(t language.Tag) {}

// InitPerMille initializes a Formatter using the default Pattern for the given
// language.
func (f *Formatter) InitPerMille(t language.Tag) {}

func (f *Formatter) Append(dst []byte, x interface{}

func FormatDigits(d *Decimal, r RoundingContext) Digits {}

func (f *Formatter) Format(dst []byte, d *Decimal) []byte {}

func (f *Formatter) Render(dst []byte, d Digits) []byte {}

// decimalVisibleDigits converts d according to the RoundingContext. Note that
// the exponent may change as a result of this operation.
func decimalVisibleDigits(r RoundingContext, d *Decimal) Digits {}

// appendDecimal appends a formatted number to dst. It returns two possible
// insertion points for padding.
func appendDecimal(dst []byte, f *Formatter, n *Digits) (b []byte, postPre, preSuf int) {}

func scientificVisibleDigits(r RoundingContext, d *Decimal) Digits {}

// appendScientific appends a formatted number to dst. It returns two possible
// insertion points for padding.
func appendScientific(dst []byte, f *Formatter, n *Digits) (b []byte, postPre, preSuf int) {}

const superMinus

const superPlus

var superDigits

func (f *Formatter) getAffixes(neg bool) (affix, suffix string) {}

func (f *Formatter) renderSpecial(dst []byte, d *Digits) (b []byte, ok bool) {}

func fmtNaN(dst []byte, f *Formatter) []byte {}

func fmtInfinite(dst []byte, f *Formatter, d *Digits) []byte {}

func appendAffix(dst []byte, f *Formatter, affix string, neg bool) []byte {}