Searched refs:precision (Results 1 – 9 of 9) sorted by relevance
/coreutils/src/ |
D | printf.c | 343 bool have_precision, int precision, in print_direc() argument 393 xprintf (p, precision, arg); in print_direc() 400 xprintf (p, field_width, precision, arg); in print_direc() 416 xprintf (p, precision, arg); in print_direc() 423 xprintf (p, field_width, precision, arg); in print_direc() 443 xprintf (p, precision, arg); in print_direc() 450 xprintf (p, field_width, precision, arg); in print_direc() 468 xprintf (p, precision, argument); in print_direc() 475 xprintf (p, field_width, precision, argument); in print_direc() 497 int precision = 0; /* Arg to second '*'. */ in print_formatted() local [all …]
|
D | seq.c | 131 int precision; member 170 ret.precision = INT_MAX; in scan_arg() 175 ret.precision = 0; in scan_arg() 187 ret.precision = fraction_len; in scan_arg() 199 ret.precision += exponent < 0 ? -exponent in scan_arg() 200 : - MIN (ret.precision, exponent); in scan_arg() 217 if (decimal_point && ret.precision == 0 && fraction_len) in scan_arg() 367 int prec = MAX (first.precision, step.precision); in get_default_format() 369 if (prec != INT_MAX && last.precision != INT_MAX) in get_default_format() 374 size_t first_width = first.width + (prec - first.precision); in get_default_format() [all …]
|
D | numfmt.c | 546 size_t *precision) in simple_strtod_float() argument 551 if (precision) in simple_strtod_float() 552 *precision = 0; in simple_strtod_float() 591 if (precision) in simple_strtod_float() 592 *precision = exponent; in simple_strtod_float() 620 char **endptr, long double *value, size_t *precision, in simple_strtod_human() argument 635 simple_strtod_float (input_str, endptr, value, precision); in simple_strtod_human() 640 " input precision = %d\n", *value, (int)*precision); in simple_strtod_human() 669 *precision = 0; /* Reset, to select precision based on scale. */ in simple_strtod_human() 737 double_to_human (long double val, int precision, in double_to_human() argument [all …]
|
D | stat.c | 733 int precision = 0; in out_epoch_sec() local 744 precision = (lprec <= INT_MAX ? lprec : INT_MAX); in out_epoch_sec() 748 precision = 9; in out_epoch_sec() 751 if (precision && ISDIGIT (dot[-1])) in out_epoch_sec() 774 int w = w_d - precision; in out_epoch_sec() 795 for (int i = precision; i < 9; i++) in out_epoch_sec() 818 if (precision) in out_epoch_sec() 820 int prec = (precision < 9 ? precision : 9); in out_epoch_sec() 821 int trailing_prec = precision - prec; in out_epoch_sec()
|
/coreutils/m4/ |
D | jm-macros.m4 | 138 # See is fpsetprec() required to use extended double precision
|
/coreutils/ |
D | TODO | 132 Support arbitrary-precision arithmetic in those tools for which it
|
D | NEWS | 1481 large numbers, or with numbers with increased precision. 1528 to cut, and supports setting the output precision with the --format option. 1962 seq -w ensures correct alignment when the step value includes a precision 2727 To obtain a nanosecond-precision timestamp for %X use %.X; 2806 sort -g now uses long doubles for greater range and precision. 5455 * printf no longer segfaults for a negative field width or precision
|
/coreutils/tests/ |
D | local.mk | 257 tests/seq/seq-precision.sh \
|
/coreutils/doc/ |
D | coreutils.texi | 3641 format specification flags, a field width, a precision specification, 4594 double-precision floating point number. @xref{Floating point}. 8531 components with nanosecond precision, e.g., @samp{2020-07-21 8541 List ISO 8601 date and time components with minute precision, e.g., 12058 silently ignore any excess precision here. 12732 components with nanosecond precision, e.g., @samp{2020-07-21 12737 List ISO 8601 date and time components with minute precision, e.g., 12995 precision preceded by a period to specify the number of digits to 12997 access timestamp to millisecond precision. If a period is given but no 12998 precision, @command{stat} uses 9 digits, so @samp{%.X} is equivalent to [all …]
|