diff options
| author | Rich Felker <dalias@aerifal.cx> | 2012-03-19 22:07:43 -0400 | 
|---|---|---|
| committer | Rich Felker <dalias@aerifal.cx> | 2012-03-19 22:07:43 -0400 | 
| commit | 97721a5508415a2f10eb068e022093811c9ff8be (patch) | |
| tree | 88e9ce153895ad949576fa7ce1eeee4b02286479 /src/math/atan2f.c | |
| parent | acb744921b73f5a73803e533e5e4a4896d164a26 (diff) | |
| parent | 0cbb65479147ecdaa664e88cc2a5a925f3de502f (diff) | |
| download | musl-97721a5508415a2f10eb068e022093811c9ff8be.tar.gz | |
Merge remote branch 'nsz/master'
Diffstat (limited to 'src/math/atan2f.c')
| -rw-r--r-- | src/math/atan2f.c | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/src/math/atan2f.c b/src/math/atan2f.c index 19b134dc..96839cba 100644 --- a/src/math/atan2f.c +++ b/src/math/atan2f.c @@ -18,7 +18,6 @@  static const volatile float  tiny = 1.0e-30;  static const float -zero = 0.0,  pi_o_4 = 7.8539818525e-01, /* 0x3f490fdb */  pi_o_2 = 1.5707963705e+00, /* 0x3fc90fdb */  pi     = 3.1415927410e+00; /* 0x40490fdb */ @@ -63,8 +62,8 @@ float atan2f(float y, float x)  			}  		} else {  			switch (m) { -			case 0: return  zero;    /* atan(+...,+INF) */ -			case 1: return -zero;    /* atan(-...,+INF) */ +			case 0: return  0.0f;    /* atan(+...,+INF) */ +			case 1: return -0.0f;    /* atan(-...,+INF) */  			case 2: return  pi+tiny; /* atan(+...,-INF) */  			case 3: return -pi-tiny; /* atan(-...,-INF) */  			} | 
