about summary refs log tree commit diff
path: root/src/math/i386/atanf.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/i386/atanf.s')
-rw-r--r--src/math/i386/atanf.s7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/math/i386/atanf.s b/src/math/i386/atanf.s
index 8caddefa..893beac5 100644
--- a/src/math/i386/atanf.s
+++ b/src/math/i386/atanf.s
@@ -10,10 +10,7 @@ atanf:
 	fpatan
 	ret
 		# subnormal x, return x with underflow
-1:	fnstsw %ax
-	and $16,%ax
-	jnz 2f
-	fld %st(0)
+1:	fld %st(0)
 	fmul %st(1)
 	fstps 4(%esp)
-2:	ret
+	ret