diff options
Diffstat (limited to 'lib/ppc/fixtfdi.c')
-rw-r--r-- | lib/ppc/fixtfdi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ppc/fixtfdi.c b/lib/ppc/fixtfdi.c index fa113a037e93..56e7b3fbf3e5 100644 --- a/lib/ppc/fixtfdi.c +++ b/lib/ppc/fixtfdi.c @@ -7,7 +7,7 @@ */ #include "DD.h" -#include <stdint.h> +#include "../int_math.h" uint64_t __fixtfdi(long double input) { @@ -65,7 +65,7 @@ uint64_t __fixtfdi(long double input) /* Edge cases handled here: */ /* |x| < 1, result is zero. */ - if (1.0 > __builtin_fabs(x.s.hi)) + if (1.0 > crt_fabs(x.s.hi)) return INT64_C(0); /* x very close to INT64_MIN, care must be taken to see which side we are on. */ |