aboutsummaryrefslogtreecommitdiff
path: root/libquadmath/math/asinq.c
diff options
context:
space:
mode:
Diffstat (limited to 'libquadmath/math/asinq.c')
-rw-r--r--libquadmath/math/asinq.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libquadmath/math/asinq.c b/libquadmath/math/asinq.c
index 7bd4d76..5dff281 100644
--- a/libquadmath/math/asinq.c
+++ b/libquadmath/math/asinq.c
@@ -151,8 +151,10 @@ asinq (__float128 x)
{
if (ix < 0x3fc60000) /* |x| < 2**-57 */
{
- if (huge + x > one)
- return x; /* return x with inexact if x!=0 */
+ math_check_force_underflow (x);
+ __float128 force_inexact = huge + x;
+ math_force_eval (force_inexact);
+ return x; /* return x with inexact if x!=0 */
}
else
{