summary refs log tree commit diff
path: root/stdio-common/_itoa.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-02-16 09:39:12 +0000
committerUlrich Drepper <drepper@redhat.com>1999-02-16 09:39:12 +0000
commitd112ae3080c54e6274513ad4b70e2e67507c2dcb (patch)
tree1ffb5f008f46aa5a5e45b99a6402f012285c84a1 /stdio-common/_itoa.c
parent3bbe74166d1161bdc1cab9c198ac4030b8c6d574 (diff)
downloadglibc-d112ae3080c54e6274513ad4b70e2e67507c2dcb.tar.gz
glibc-d112ae3080c54e6274513ad4b70e2e67507c2dcb.tar.xz
glibc-d112ae3080c54e6274513ad4b70e2e67507c2dcb.zip
Update.
1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>

	* stdio-common/_itoa.c (_itoa): Correct parameters to
	udiv_qrnnd_preinv.

1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* misc/sys/cdefs.h: Undefine __PMT since it might be defined
	before (e.g. in glob.h).
	Closes PR libc/959.

1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* sysdeps/mips/fpu_control.h: Fix typo.
	Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
	Remove __setfpucw.
Diffstat (limited to 'stdio-common/_itoa.c')
-rw-r--r--stdio-common/_itoa.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdio-common/_itoa.c b/stdio-common/_itoa.c
index 72949ea8fb..af4836036f 100644
--- a/stdio-common/_itoa.c
+++ b/stdio-common/_itoa.c
@@ -1,8 +1,8 @@
 /* Internal function for converting integers to ASCII.
-   Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
+   Copyright (C) 1994, 1995, 1996, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Torbjorn Granlund <tege@matematik.su.se>
-   and Ulrich Drepper <drepper@gnu.ai.mit.edu>.
+   and Ulrich Drepper <drepper@gnu.org>.
 
    The GNU C Library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Library General Public License as
@@ -285,7 +285,7 @@ _itoa (value, buflim, base, upper_case)
 
 		xl = ((mp_limb_t) value) << big_normalization_steps;
 		udiv_qrnnd_preinv (x1lo, x, r, xl, big_base_norm,
-				   big_normalization_steps);
+				   brec->big.base_ninv);
 		t[2] = x >> big_normalization_steps;
 
 		if (big_normalization_steps == 0)
@@ -295,7 +295,7 @@ _itoa (value, buflim, base, upper_case)
 			| (x1lo >> (32 - big_normalization_steps)));
 		xl = x1lo << big_normalization_steps;
 		udiv_qrnnd_preinv (t[0], x, xh, xl, big_base_norm,
-				   big_normalization_steps);
+				   brec->big.base_ninv);
 		t[1] = x >> big_normalization_steps;
 #elif UDIV_NEEDS_NORMALIZATION
 		mp_limb_t x, xh, xl;