about summary refs log tree commit diff
path: root/src/math/i386/atan.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/i386/atan.s')
-rw-r--r--src/math/i386/atan.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/math/i386/atan.s b/src/math/i386/atan.s
index a26feae1..2c57f6b3 100644
--- a/src/math/i386/atan.s
+++ b/src/math/i386/atan.s
@@ -8,6 +8,8 @@ atan:
 	jb 1f
 	fld1
 	fpatan
+	fstpl 4(%esp)
+	fldl 4(%esp)
 	ret
 		# subnormal x, return x with underflow
 1:	fsts 4(%esp)