]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 27 Feb 1998 11:47:27 +0000 (11:47 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 27 Feb 1998 11:47:27 +0000 (11:47 +0000)
* 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>

ChangeLog
manual/arith.texi
misc/tst-efgcvt.c

index ebdc2fcdce0299330aaaf4c56408468939419e49..690d736d7d40d08b5375b7bfb7e186397b4bbacc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
+
+       * 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>
 
        * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
index 1e3b2f531831252c1c0aa4dda8f326a1246b2209..0d62e419b0119c154f493713cbfca84743ea9616 100644 (file)
@@ -1352,7 +1352,7 @@ returned string neither contains decimal point nor sign. The high-order
 digit of the string is non-zero (unless @var{value} is actually zero)
 and the low-order digit is rounded. The variable pointed to by
 @var{decpt} gets the position of the decimal character relative to the
-start of the string. If @var{value} is negativ, @var{sign} is set to a
+start of the string. If @var{value} is negative, @var{sign} is set to a
 non-zero value, otherwise to 0.
 
 The returned string is statically allocated and overwritten by each call
index fc6bbf2a6c240bf4375b915977956363664f65e4..780dd9a02d0b8065e5e490c7d17d76ce05b38b4e 100644 (file)
@@ -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;
 }
This page took 0.057308 seconds and 5 git commands to generate.