about summary refs log tree commit diff
path: root/sysdeps/libm-ieee754/e_j0.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-ieee754/e_j0.c')
-rw-r--r--sysdeps/libm-ieee754/e_j0.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/libm-ieee754/e_j0.c b/sysdeps/libm-ieee754/e_j0.c
index ff4c73bceb..55e8294bb9 100644
--- a/sysdeps/libm-ieee754/e_j0.c
+++ b/sysdeps/libm-ieee754/e_j0.c
@@ -234,9 +234,9 @@ V[]  =  {1.27304834834123699328e-02, /* 0x3F8A1270, 0x91C9C71A */
 	u2 = U[2]+z*U[3]; z4=z2*z2;
 	u3 = U[4]+z*U[5]; z6=z4*z2;
 	u = u1 + z2*u2 + z4*u3 + z6*U[6];
-	v1 = one+z*V[1];
-	v2 = V[2]+z*V[3];
-	v = v1 + z2*v2 + z4*V[4];
+	v1 = one+z*V[0];
+	v2 = V[1]+z*V[2];
+	v = v1 + z2*v2 + z4*V[3];
 #endif
 	return(u/v + tpi*(__ieee754_j0(x)*__ieee754_log(x)));
 }