aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/dbl-64
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ieee754/dbl-64')
-rw-r--r--sysdeps/ieee754/dbl-64/s_fabs.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sysdeps/ieee754/dbl-64/s_fabs.c b/sysdeps/ieee754/dbl-64/s_fabs.c
index c82c4210ed..73c09a269e 100644
--- a/sysdeps/ieee754/dbl-64/s_fabs.c
+++ b/sysdeps/ieee754/dbl-64/s_fabs.c
@@ -19,15 +19,11 @@ static char rcsid[] = "$NetBSD: s_fabs.c,v 1.7 1995/05/10 20:47:13 jtc Exp $";
*/
#include <math.h>
-#include <math_private.h>
double
__fabs (double x)
{
- u_int32_t high;
- GET_HIGH_WORD (high, x);
- SET_HIGH_WORD (x, high & 0x7fffffff);
- return x;
+ return __builtin_fabs (x);
}
weak_alias (__fabs, fabs)
#ifdef NO_LONG_DOUBLE