diff options
author | Pádraig Brady <P@draigBrady.com> | 2015-06-23 22:51:24 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-06-24 17:04:01 +0100 |
commit | 32c97093db85c827ccbbf4cd4255190718863232 (patch) | |
tree | c0fc83e1aeb1ef93ae4327d48beb1637177c22a5 /src/factor.c | |
parent | 60c8e31d9201f10295cfdcfd2d15893f9682083b (diff) | |
download | coreutils-32c97093db85c827ccbbf4cd4255190718863232.tar.xz |
seq: handle exponents more consistently
src/seq.c (scan_arg): Set precision and width _after_ exponentiation.
For example, this will make '1.1e1 12' and '11 1.2e1' equivalent.
One can still set the precision by specifying extra precision on
the start value, or more naturally with a precision on a step value.
* tests/misc/seq-precision.sh: Add new cases.
Diffstat (limited to 'src/factor.c')
0 files changed, 0 insertions, 0 deletions