about summary refs log tree commit diff
path: root/sysdeps/powerpc/fpu/k_rem_pio2f.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2011-09-15 11:16:03 +0200
committerAndreas Schwab <schwab@redhat.com>2011-09-15 15:35:38 +0200
commitedc121be8b53da57950daf6f42a619b5826f30b6 (patch)
treeca7d0771ba09d5797c396c5a4cacbd69dc134083 /sysdeps/powerpc/fpu/k_rem_pio2f.c
parentee4d03150a65018f367e3250887ec9c5b2133ce4 (diff)
downloadglibc-edc121be8b53da57950daf6f42a619b5826f30b6.tar.gz
glibc-edc121be8b53da57950daf6f42a619b5826f30b6.tar.xz
glibc-edc121be8b53da57950daf6f42a619b5826f30b6.zip
Fix PLT uses in libm on powerpc
Diffstat (limited to 'sysdeps/powerpc/fpu/k_rem_pio2f.c')
-rw-r--r--sysdeps/powerpc/fpu/k_rem_pio2f.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/powerpc/fpu/k_rem_pio2f.c b/sysdeps/powerpc/fpu/k_rem_pio2f.c
index 9635340219..7090605538 100644
--- a/sysdeps/powerpc/fpu/k_rem_pio2f.c
+++ b/sysdeps/powerpc/fpu/k_rem_pio2f.c
@@ -135,16 +135,16 @@ recompute:
   /* distill q[] into iq[] reversingly */
   for (i = 0, j = jz, z = q[jz]; j > 0; i++, j--)
     {
-      fw = truncf (twon8 * z);
+      fw = __truncf (twon8 * z);
       iq[i] = (int32_t) (z - two8 * fw);
       z = q[j - 1] + fw;
     }
 
   /* compute n */
   z = __scalbnf (z, q0);	/* actual value of z */
-  z -= 8.0 * floorf (z * 0.125);	/* trim off integer >= 8 */
+  z -= 8.0 * __floorf (z * 0.125);	/* trim off integer >= 8 */
   n = (int32_t) z;
-  z -= truncf (z);
+  z -= __truncf (z);
   ih = 0;
   if (q0 > 0)
     {				/* need iq[jz-1] to determine n */
@@ -234,7 +234,7 @@ recompute:
       z = __scalbnf (z, -q0);
       if (z >= two8)
 	{
-	  fw = truncf (twon8 * z);
+	  fw = __truncf (twon8 * z);
 	  iq[jz] = (int32_t) (z - two8 * fw);
 	  jz += 1;
 	  q0 += 8;