mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 17:01:53 +00:00
- Implemented MSVC version of atan2
svn path=/trunk/; revision=42841
This commit is contained in:
parent
c98133c6af
commit
a68ce7a4e3
1 changed files with 7 additions and 1 deletions
|
@ -15,7 +15,13 @@ double atan2 (double __y, double __x)
|
|||
"fld %%st(0)"
|
||||
: "=t" (__val) : "0" (__x), "u" (__y));
|
||||
#else
|
||||
#error IMPLEMENT ME
|
||||
__asm
|
||||
{
|
||||
fld __y
|
||||
fld __x
|
||||
fpatan
|
||||
fstp __val
|
||||
}
|
||||
#endif /*__GNUC__*/
|
||||
return __val;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue