diff options
Diffstat (limited to 'lib/msun/src/s_atan.c')
-rw-r--r-- | lib/msun/src/s_atan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/msun/src/s_atan.c b/lib/msun/src/s_atan.c index 4b0ab89..01e7bea 100644 --- a/lib/msun/src/s_atan.c +++ b/lib/msun/src/s_atan.c @@ -82,8 +82,8 @@ atan(double x) if(ix>0x7ff00000|| (ix==0x7ff00000&&(low!=0))) return x+x; /* NaN */ - if(hx>0) return atanhi[3]+atanlo[3]; - else return -atanhi[3]-atanlo[3]; + if(hx>0) return atanhi[3]+*(volatile double *)&atanlo[3]; + else return -atanhi[3]-*(volatile double *)&atanlo[3]; } if (ix < 0x3fdc0000) { /* |x| < 0.4375 */ if (ix < 0x3e200000) { /* |x| < 2^-29 */ if(huge+x>one) return x; /* raise inexact */ |