about summary refs log tree commit diff
path: root/sysdeps/ieee754/ldbl-128ibm/e_asinl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ieee754/ldbl-128ibm/e_asinl.c')
-rw-r--r--sysdeps/ieee754/ldbl-128ibm/e_asinl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/ieee754/ldbl-128ibm/e_asinl.c b/sysdeps/ieee754/ldbl-128ibm/e_asinl.c
index 00386db04e..5bc847ad26 100644
--- a/sysdeps/ieee754/ldbl-128ibm/e_asinl.c
+++ b/sysdeps/ieee754/ldbl-128ibm/e_asinl.c
@@ -152,8 +152,9 @@ __ieee754_asinl (long double x)
 	      long double force_underflow = x * x;
 	      math_force_eval (force_underflow);
 	    }
-	  if (huge + x > one)
-	    return x;		/* return x with inexact if x!=0 */
+	  long double force_inexact =  huge + x;
+	  math_force_eval (force_inexact);
+	  return x;		/* return x with inexact if x!=0 */
 	}
       else
 	{