summary refs log tree commit diff
path: root/misc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-02-27 11:47:27 +0000
committerUlrich Drepper <drepper@redhat.com>1998-02-27 11:47:27 +0000
commita7f804d855439cf45947d587af33df6aa8433ca4 (patch)
tree8efeef5f37ea9e4bce61b7a80a619794e8f75cab /misc
parentb0df72f4fbd600427553425da5be32bbd52c15e3 (diff)
downloadglibc-a7f804d855439cf45947d587af33df6aa8433ca4.tar.gz
glibc-a7f804d855439cf45947d587af33df6aa8433ca4.tar.xz
glibc-a7f804d855439cf45947d587af33df6aa8433ca4.zip
Update.
	* misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
	bug.

1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* manual/arith.texi (Old-style number conversion): Correct
	typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.

1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
Diffstat (limited to 'misc')
-rw-r--r--misc/tst-efgcvt.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/misc/tst-efgcvt.c b/misc/tst-efgcvt.c
index fc6bbf2a6c..780dd9a02d 100644
--- a/misc/tst-efgcvt.c
+++ b/misc/tst-efgcvt.c
@@ -26,7 +26,7 @@
 
 int error_count;
 
-typedef struct 
+typedef struct
 {
   double value;
   int ndigit;
@@ -55,6 +55,7 @@ static testcase ecvt_tests[] =
   { 100.01, -4, 3, "" },
   { 123.01, -4, 3, "" },
   { 126.71, -4, 3, "" },
+  { 0.0, 4, 1, "0000" },
   /* -1.0 is end marker.  */
   { -1.0, 0, 0, "" }
 };
@@ -132,13 +133,13 @@ special (void)
 
 }
 
-  
+
 int
 main (void)
 {
   test (ecvt_tests, ecvt, "ecvt");
   test (fcvt_tests, fcvt, "fcvt");
   special ();
-  
+
   return error_count;
 }