aboutsummaryrefslogtreecommitdiff
path: root/misc/tst-efgcvt.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-06-24 13:25:48 +0000
committerUlrich Drepper <drepper@redhat.com>1999-06-24 13:25:48 +0000
commite22206f336cee36e8ab77136d798828c723b4c8d (patch)
tree715b6e46cb86ec31f6e3c1e0ffe050fbd2ab5214 /misc/tst-efgcvt.c
parentd0db5f488d9a47947c49f728ca29077c0cff48b1 (diff)
downloadglibc-e22206f336cee36e8ab77136d798828c723b4c8d.zip
glibc-e22206f336cee36e8ab77136d798828c723b4c8d.tar.gz
glibc-e22206f336cee36e8ab77136d798828c723b4c8d.tar.bz2
Update.
1999-06-24 Ulrich Drepper <drepper@cygnus.com> * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16. * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
Diffstat (limited to 'misc/tst-efgcvt.c')
-rw-r--r--misc/tst-efgcvt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/tst-efgcvt.c b/misc/tst-efgcvt.c
index cfbaa21..d0ebd0d 100644
--- a/misc/tst-efgcvt.c
+++ b/misc/tst-efgcvt.c
@@ -56,6 +56,7 @@ static testcase ecvt_tests[] =
{ 123.01, -4, 3, "" },
{ 126.71, -4, 3, "" },
{ 0.0, 4, 1, "0000" },
+ { 92.0, 16, 2, "920000000000000" },
/* -1.0 is end marker. */
{ -1.0, 0, 0, "" }
};