projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added binary and unicode file i/o support to msvcrt.
[reactos.git]
/
reactos
/
lib
/
msvcrt
/
math
/
cos.c
diff --git
a/reactos/lib/msvcrt/math/cos.c
b/reactos/lib/msvcrt/math/cos.c
index
1753f59
..
981380e
100644
(file)
--- a/
reactos/lib/msvcrt/math/cos.c
+++ b/
reactos/lib/msvcrt/math/cos.c
@@
-5,9
+5,12
@@
double cos (double __x);
double cos (double __x)
{
register double __value;
+#ifdef __GNUC__
__asm __volatile__
("fcos"
: "=t" (__value): "0" (__x));
-
+#else
+ __value = linkme_cos(__x);
+#endif /*__GNUC__*/
return __value;
}