diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2021-01-05 12:28:13 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2021-01-05 12:28:13 +0100 |
| commit | 6b5810498fe79b0ce2ca305c0aed95b6c7b631a4 (patch) | |
| tree | 51754ad9d910ed0e9a611df0926449beaa8fdd8d /src/seq.c | |
| parent | 93a32a30cf3b82b593e112bdaf2b2625d94b0262 (diff) | |
| download | coreutils-6b5810498fe79b0ce2ca305c0aed95b6c7b631a4.tar.gz coreutils-6b5810498fe79b0ce2ca305c0aed95b6c7b631a4.tar.bz2 coreutils-6b5810498fe79b0ce2ca305c0aed95b6c7b631a4.zip | |
Added xargs utility, Added -std=c99 flag
Diffstat (limited to 'src/seq.c')
| -rw-r--r-- | src/seq.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -109,13 +109,13 @@ int main(int argc, char **argv) { int precision = MAX(first.precision, increment.precision); if (!padding) - printf("%.*llf", precision, first.value); + printf("%.*Lf", precision, first.value); else { int width = MAX(last.integer_len, first.integer_len); if (precision != 0) width += precision + 1; - printf("%0*.*llf", width, precision, first.value); + printf("%0*.*Lf", width, precision, first.value); } first.value += increment.value; if (increment.value > 0 ? (first.value <= last.value) : (first.value >= last.value)) |
