aboutsummaryrefslogtreecommitdiff
path: root/newlib/libm/mathfp/sf_atangent.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm/mathfp/sf_atangent.c')
-rw-r--r--newlib/libm/mathfp/sf_atangent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libm/mathfp/sf_atangent.c b/newlib/libm/mathfp/sf_atangent.c
index 55a9006..7a8f0ce 100644
--- a/newlib/libm/mathfp/sf_atangent.c
+++ b/newlib/libm/mathfp/sf_atangent.c
@@ -126,9 +126,9 @@ _DEFUN (atangentf, (float, float, float, int),
if (arctan2)
{
- if (u < 0.0 || branch == 2)
+ if (u < 0.0)
res = __PI - res;
- if (v < 0.0 || branch == 1)
+ if (v < 0.0)
res = -res;
}
else if (x < 0.0)