diff options
author | Pádraig Brady <P@draigBrady.com> | 2015-06-22 04:19:48 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-06-22 17:22:04 +0100 |
commit | 4f824b3f3658a941187a32c6d52ee758e4db5896 (patch) | |
tree | f2e2a0c1d852a5d74fe276a225d3a5e87717f2bd /src/seq.c | |
parent | bc9d16b79f4e8c25e13be63f846cfd7152b65da1 (diff) | |
download | coreutils-4f824b3f3658a941187a32c6d52ee758e4db5896.tar.xz |
numfmt: don't hardcode floating point limits
* src/numfmt.c (MAX_UNSCALED_DIGITS): Set this to LDBL_DIG
rather than hardcoding at 18 for better portability.
* tests/misc/numfmt.pl: Restrict limit tests to supported platforms.
Diffstat (limited to 'src/seq.c')
0 files changed, 0 insertions, 0 deletions