- Implemented MSVC version of atan2

svn path=/trunk/; revision=42841
This commit is contained in:
Gregor Brunmar 2009-08-22 10:07:25 +00:00
parent c98133c6af
commit a68ce7a4e3

View file

@ -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;
}