Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update.
1999-11-10  Ulrich Drepper  <drepper@cygnus.com>

	* misc/tst-efgcvt.c (output_r_error): Remove extra parameter to
	printf call.
  • Loading branch information
Ulrich Drepper committed Nov 10, 1999
1 parent c9e17a9 commit 1fc6f81
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -1,3 +1,8 @@
1999-11-10 Ulrich Drepper <drepper@cygnus.com>

* misc/tst-efgcvt.c (output_r_error): Remove extra parameter to
printf call.

1999-11-10 Andreas Jaeger <aj@suse.de>

* misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r.
Expand Down
6 changes: 3 additions & 3 deletions misc/tst-efgcvt.c
Expand Up @@ -109,7 +109,7 @@ output_r_error (const char *name, double value, int ndigit,
printf ("Result was buf: \"%s\", decpt: %d, sign: %d return value: %d\n",
res_p, res_decpt, res_sign, res_return);
printf ("Should be buf: \"%s\", decpt: %d, sign: %d\n",
exp_p, exp_decpt, exp_sign, exp_return);
exp_p, exp_decpt, exp_sign);
++error_count;
}

Expand Down Expand Up @@ -140,7 +140,7 @@ test_r (testcase tests[], efcvt_r_func efcvt_r, const char *name)
int no = 0;
int decpt, sign, res;
char buf [1024];


while (tests[no].value != -1.0)
{
Expand All @@ -164,7 +164,7 @@ special (void)
int decpt, sign, res;
char *p;
char buf [1024];

p = ecvt (NAN, 10, &decpt, &sign);
if (sign != 0 || strcmp (p, "nan") != 0)
output_error ("ecvt", NAN, 10, "nan", 0, 0, p, decpt, sign);
Expand Down

0 comments on commit 1fc6f81

Please sign in to comment.