Lines Matching defs:precision
122 audio_secs_to_str(double sec, char *str, int precision)
135 /* Limit precision arg to reasonable value */
136 if ((precision > 10) || (precision < 0))
137 precision = 10;
144 /* Round off within precision to avoid -.01 printing as -0:00 */
145 (void) sprintf(buf, "%.*f", precision, sec);
151 /* Round off within precision to avoid 1:59.999 printing as 1:60.00 */
154 (void) sprintf(buf, "%.*f", precision, x);
179 (void) sprintf(p, "%.*f", precision, sec);
270 prec = "(unknown precision?)";