diff options
author | Andreas Schwab <schwab@redhat.com> | 2011-09-15 11:16:03 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@redhat.com> | 2011-09-15 15:35:38 +0200 |
commit | edc121be8b53da57950daf6f42a619b5826f30b6 (patch) | |
tree | ca7d0771ba09d5797c396c5a4cacbd69dc134083 /sysdeps/powerpc/fpu/e_rem_pio2f.c | |
parent | ee4d03150a65018f367e3250887ec9c5b2133ce4 (diff) | |
download | glibc-edc121be8b53da57950daf6f42a619b5826f30b6.tar.gz glibc-edc121be8b53da57950daf6f42a619b5826f30b6.tar.xz glibc-edc121be8b53da57950daf6f42a619b5826f30b6.zip |
Fix PLT uses in libm on powerpc
Diffstat (limited to 'sysdeps/powerpc/fpu/e_rem_pio2f.c')
-rw-r--r-- | sysdeps/powerpc/fpu/e_rem_pio2f.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/powerpc/fpu/e_rem_pio2f.c b/sysdeps/powerpc/fpu/e_rem_pio2f.c index 9325eeb27d..e4427e489d 100644 --- a/sysdeps/powerpc/fpu/e_rem_pio2f.c +++ b/sysdeps/powerpc/fpu/e_rem_pio2f.c @@ -112,7 +112,7 @@ __ieee754_rem_pio2f (float x, float *y) } if (ax <= pio2_2e7) { - n = floorf (ax * invpio2 + half); + n = __floorf (ax * invpio2 + half); i = (int32_t) n; r = ax - n * pio2_1; w = n * pio2_1t; /* 1st round good to 40 bit */ @@ -168,11 +168,11 @@ __ieee754_rem_pio2f (float x, float *y) e0 = __float_and8 (ax / 128.0); z = ax / e0; - tx[0] = floorf (z); + tx[0] = __floorf (z); z = (z - tx[0]) * two8; - tx[1] = floorf (z); + tx[1] = __floorf (z); z = (z - tx[1]) * two8; - tx[2] = floorf (z); + tx[2] = __floorf (z); nx = 3; while (tx[nx - 1] == zero) |