mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 04:13:32 +00:00
- Implemented MSVC version of atan2
svn path=/trunk/; revision=42841
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user