summaryrefslogtreecommitdiff
path: root/regress/lib/libutil/fmt_scaled
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2004-09-16 10:57:34 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2004-09-16 10:57:34 +0000
commitfaf00b42707285acd16b34b3061a14b375a600a5 (patch)
tree2088ecbd70967ad5983f239d8903d985e4e4c0b0 /regress/lib/libutil/fmt_scaled
parente576eb33bad101c8e0afbb2d2c4c424148ddbc1d (diff)
new regression found in the wild: 1099512676352 -> 2.0T; fixed a minute ago.
Diffstat (limited to 'regress/lib/libutil/fmt_scaled')
-rw-r--r--regress/lib/libutil/fmt_scaled/fmt_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/regress/lib/libutil/fmt_scaled/fmt_test.c b/regress/lib/libutil/fmt_scaled/fmt_test.c
index 749a2ebd152..88e12bd6407 100644
--- a/regress/lib/libutil/fmt_scaled/fmt_test.c
+++ b/regress/lib/libutil/fmt_scaled/fmt_test.c
@@ -108,6 +108,7 @@ static struct { /* the test cases */
{ 1LL<<61, "2.0E", 0 },
{ 1LL<<62, "4.0E", 0 },
{ 1LL<<63, "", ERANGE },
+ { 1099512676352LL, "1.0T", 0}
};
# define DDATA_LENGTH (sizeof ddata/sizeof *ddata)