git://git.jankratochvil.net
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
branch update for HEAD-2003021201
[reactos.git]
/
lib
/
msvcrt
/
math
/
atan.c
diff --git
a/lib/msvcrt/math/atan.c
b/lib/msvcrt/math/atan.c
index
d1df503
..
af0e219
100644
(file)
--- a/
lib/msvcrt/math/atan.c
+++ b/
lib/msvcrt/math/atan.c
@@
-25,10
+25,13
@@
double atan (double __x);
double atan (double __x)
{
register double __value;
+#ifdef __GNUC__
__asm __volatile__
("fld1\n\t"
"fpatan"
: "=t" (__value) : "0" (__x));
-
+#else
+ __value = linkme_atan(__x);
+#endif /*__GNUC__*/
return __value;
}