about summary refs log tree commit diff
path: root/sysdeps/libm-ieee754/e_atan2l.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-ieee754/e_atan2l.c')
-rw-r--r--sysdeps/libm-ieee754/e_atan2l.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/libm-ieee754/e_atan2l.c b/sysdeps/libm-ieee754/e_atan2l.c
index 6b76f96533..e60f2d41c1 100644
--- a/sysdeps/libm-ieee754/e_atan2l.c
+++ b/sysdeps/libm-ieee754/e_atan2l.c
@@ -126,7 +126,7 @@ pi_lo   = -5.01655761266833202345176e-20L;/* 0xBFBE, 0xECE675D1, 0xFC8F8CBB */
 	    case 1: {
 	    	      u_int32_t sz;
 		      GET_LDOUBLE_EXP(sz,z);
-		      SET_LDOUBLE_EXP(z,sy ^ 0x8000);
+		      SET_LDOUBLE_EXP(z,sz ^ 0x8000);
 		    }
 		    return       z  ;	/* atan(-,+) */
 	    case 2: return  pi-(z-pi_lo);/* atan(+,-) */