diff options
Diffstat (limited to 'math/s_clogf.c')
-rw-r--r-- | math/s_clogf.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/math/s_clogf.c b/math/s_clogf.c index 79117df..b487334 100644 --- a/math/s_clogf.c +++ b/math/s_clogf.c @@ -68,12 +68,9 @@ __clogf (__complex__ float x) float absy2 = absy * absy; if (absy2 <= FLT_MIN * 2.0f) { -#if __FLT_EVAL_METHOD__ == 0 - __real__ result = absy2 / 2.0f - absy2 * absy2 / 4.0f; -#else - volatile float force_underflow = absy2 * absy2 / 4.0f; - __real__ result = absy2 / 2.0f - force_underflow; -#endif + float force_underflow = absy2 * absy2; + __real__ result = absy2 / 2.0f; + math_force_eval (force_underflow); } else __real__ result = __log1pf (absy2) / 2.0f; |