git://git.jankratochvil.net
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
update for HEAD-2003091401
[reactos.git]
/
lib
/
msvcrt
/
math
/
atan2.c
1
2
#include <msvcrt/math.h>
3
4
double atan2 (double __y, double __x);
5
6
/*
7
* @implemented
8
*/
9
double atan2 (double __y, double __x)
10
{
11
register double __value;
12
#ifdef __GNUC__
13
__asm __volatile__
14
("fpatan\n\t"
15
"fld %%st(0)"
16
: "=t" (__value) : "0" (__x), "u" (__y));
17
#else
18
__value = linkme_atan2(__x, __y);
19
#endif /*__GNUC__*/
20
return __value;
21
}