diff options
Diffstat (limited to 'lib/libcompiler_rt/divsc3.c')
-rw-r--r-- | lib/libcompiler_rt/divsc3.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libcompiler_rt/divsc3.c b/lib/libcompiler_rt/divsc3.c index 42a48315e66..0d18a256c3d 100644 --- a/lib/libcompiler_rt/divsc3.c +++ b/lib/libcompiler_rt/divsc3.c @@ -12,6 +12,8 @@ *===----------------------------------------------------------------------=== */ +#define SINGLE_PRECISION +#include "fp_lib.h" #include "int_lib.h" #include "int_math.h" @@ -21,7 +23,8 @@ COMPILER_RT_ABI Fcomplex __divsc3(float __a, float __b, float __c, float __d) { int __ilogbw = 0; - float __logbw = crt_logbf(crt_fmaxf(crt_fabsf(__c), crt_fabsf(__d))); + float __logbw = + __compiler_rt_logbf(crt_fmaxf(crt_fabsf(__c), crt_fabsf(__d))); if (crt_isfinite(__logbw)) { __ilogbw = (int)__logbw; |