diff options
Diffstat (limited to 'lib/libcompiler_rt/divdc3.c')
-rw-r--r-- | lib/libcompiler_rt/divdc3.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libcompiler_rt/divdc3.c b/lib/libcompiler_rt/divdc3.c index 3c88390b5e7..392d6ecacde 100644 --- a/lib/libcompiler_rt/divdc3.c +++ b/lib/libcompiler_rt/divdc3.c @@ -12,6 +12,8 @@ * ===----------------------------------------------------------------------=== */ +#define DOUBLE_PRECISION +#include "fp_lib.h" #include "int_lib.h" #include "int_math.h" @@ -21,7 +23,7 @@ COMPILER_RT_ABI Dcomplex __divdc3(double __a, double __b, double __c, double __d) { int __ilogbw = 0; - double __logbw = crt_logb(crt_fmax(crt_fabs(__c), crt_fabs(__d))); + double __logbw = __compiler_rt_logb(crt_fmax(crt_fabs(__c), crt_fabs(__d))); if (crt_isfinite(__logbw)) { __ilogbw = (int)__logbw; |