projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix excess precision in return value of i386 atan[2][f]
[oweals/musl.git]
/
src
/
math
/
i386
/
atan2.s
diff --git
a/src/math/i386/atan2.s
b/src/math/i386/atan2.s
index 76b95f3176d49904a918e36aad30517ea720cb68..8bc441b1e47ec344454d851f4b01d3f1744ba0c6 100644
(file)
--- a/
src/math/i386/atan2.s
+++ b/
src/math/i386/atan2.s
@@
-4,7
+4,8
@@
atan2:
fldl 4(%esp)
fldl 12(%esp)
fpatan
- fstl 4(%esp)
+ fstpl 4(%esp)
+ fldl 4(%esp)
mov 8(%esp),%eax
add %eax,%eax
cmp $0x00200000,%eax