Lines Matching full:precision
41 %g %e for large exponents, %f otherwise. Precision is discussed below.
70 Precision is specified after the (optional) width by a period followed by a
71 decimal number. If no period is present, a default precision is used.
72 A period with no following number specifies a precision of zero.
74 %f default width, default precision
75 %9f width 9, default precision
76 %.2f default width, precision 2
77 %9.2f width 9, precision 2
78 %9.f width 9, precision 0
80 Width and precision are measured in units of Unicode code points,
90 For strings, byte slices and byte arrays, however, precision
97 precision sets the number of places after the decimal, if appropriate,
98 except that for %g/%G precision sets the total number of significant
100 %.3g prints 12.3. The default precision for %e, %f and %#g is 6; for %g it
103 For complex numbers, the width and precision apply to the two
191 before a '*' for a width or precision selects the argument index holding
219 Non-int for width or precision: %!(BADWIDTH) or %!(BADPREC)
297 syntax for scanning with a precision (no %5.2f, just %5f).