From 0e9be4db8f655d3dc006c5b101f15a5912a5846f Mon Sep 17 00:00:00 2001 From: Wilco Dijkstra Date: Fri, 15 May 2015 10:53:55 +0000 Subject: Remove various ABS macros and replace uses with fabs (or in one case abs) which is more efficient on all targets. --- sysdeps/ieee754/dbl-64/mpatan.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sysdeps/ieee754/dbl-64/mpatan.c') diff --git a/sysdeps/ieee754/dbl-64/mpatan.c b/sysdeps/ieee754/dbl-64/mpatan.c index 004ed7a0fb..d9ac3d62b1 100644 --- a/sysdeps/ieee754/dbl-64/mpatan.c +++ b/sysdeps/ieee754/dbl-64/mpatan.c @@ -32,6 +32,7 @@ #include "endian.h" #include "mpa.h" +#include #ifndef SECTION # define SECTION @@ -65,7 +66,7 @@ __mpatan (mp_no *x, mp_no *y, int p) else { __mp_dbl (x, &dx, p); - dx = ABS (dx); + dx = fabs (dx); for (m = 6; m > 0; m--) { if (dx > __atan_xm[m].d) -- cgit 1.4.1