diff options
Diffstat (limited to 'math/w_j1f_compat.c')
| -rw-r--r-- | math/w_j1f_compat.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/math/w_j1f_compat.c b/math/w_j1f_compat.c index 81e56b771e..025ed3ab46 100644 --- a/math/w_j1f_compat.c +++ b/math/w_j1f_compat.c @@ -27,7 +27,8 @@ float __j1f (float x) { - if (__builtin_expect (isgreater (fabsf (x), X_TLOSS), 0) + if (__builtin_expect (isgreater (fabsf (x), + AS_FLOAT_CONSTANT (X_TLOSS)), 0) && _LIB_VERSION != _IEEE_ && _LIB_VERSION != _POSIX_) /* j1(|x|>X_TLOSS) */ return __kernel_standard_f (x, x, 136); @@ -42,7 +43,7 @@ float __y1f (float x) { if (__builtin_expect (islessequal (x, 0.0f) - || isgreater (x, (float) X_TLOSS), 0) + || isgreater (x, AS_FLOAT_CONSTANT (X_TLOSS)), 0) && _LIB_VERSION != _IEEE_) { if (x < 0.0f) |
