diff options
| author | Charles Forsyth <charles.forsyth@gmail.com> | 2015-10-07 10:37:37 +0100 |
|---|---|---|
| committer | Charles Forsyth <charles.forsyth@gmail.com> | 2015-10-07 10:37:37 +0100 |
| commit | 11c0927f1bbfd009582e7498fff99e46f3eb36d4 (patch) | |
| tree | fe19aceb8c7828a79e8df97260826e9e95daf083 /libmath | |
| parent | bffb214d2028a5ea1709e02c50f37a3f4557121c (diff) | |
avoid uninitialised t in corner case
Diffstat (limited to 'libmath')
| -rw-r--r-- | libmath/fdlibm/e_asin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmath/fdlibm/e_asin.c b/libmath/fdlibm/e_asin.c index 76b67c0f..3c37a43d 100644 --- a/libmath/fdlibm/e_asin.c +++ b/libmath/fdlibm/e_asin.c @@ -77,7 +77,7 @@ qS4 = 7.70381505559019352791e-02; /* 0x3FB3B8C5, 0xB12E9282 */ } else if (ix<0x3fe00000) { /* |x|<0.5 */ if(ix<0x3e400000) { /* if |x| < 2**-27 */ if(Huge+x>one) return x;/* return x with inexact if x!=0*/ - } else + } t = x*x; p = t*(pS0+t*(pS1+t*(pS2+t*(pS3+t*(pS4+t*pS5))))); q = one+t*(qS1+t*(qS2+t*(qS3+t*qS4))); |
