Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenatan2.c
Go to the documentation of this file.
00001 00002 #include <math.h> 00003 00004 double atan2 (double __y, double __x); 00005 00006 /* 00007 * @implemented 00008 */ 00009 double atan2 (double __y, double __x) 00010 { 00011 register double __val; 00012 #ifdef __GNUC__ 00013 __asm __volatile__ 00014 ("fpatan\n\t" 00015 "fld %%st(0)" 00016 : "=t" (__val) : "0" (__x), "u" (__y)); 00017 #else 00018 __asm 00019 { 00020 fld __y 00021 fld __x 00022 fpatan 00023 fstp __val 00024 } 00025 #endif /*__GNUC__*/ 00026 return __val; 00027 } Generated on Sat May 26 2012 04:35:26 for ReactOS by
1.7.6.1
|