diff options
author | 2004-09-16 10:57:33 +0000 | |
---|---|---|
committer | 2004-09-16 10:57:33 +0000 | |
commit | df8f77ad52f129e828e5a0faf8dc866791114c4e (patch) | |
tree | 41089230ba9ebbcb9db301ae33b8694630598b84 | |
parent | fix 1099512676352 -> 2.0T; ok miod@ (diff) | |
download | wireguard-openbsd-df8f77ad52f129e828e5a0faf8dc866791114c4e.tar.xz wireguard-openbsd-df8f77ad52f129e828e5a0faf8dc866791114c4e.zip |
new regression found in the wild: 1099512676352 -> 2.0T; fixed a minute ago.
-rw-r--r-- | regress/lib/libutil/fmt_scaled/fmt_test.c | 1 |
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) |