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
/
log10.c
diff --git
a/lib/msvcrt/math/log10.c
b/lib/msvcrt/math/log10.c
index
e198837
..
58e8cd6
100644
(file)
--- a/
lib/msvcrt/math/log10.c
+++ b/
lib/msvcrt/math/log10.c
@@
-25,11
+25,14
@@
double log10 (double __x);
double log10 (double __x)
{
register double __value;
+#ifdef __GNUC__
__asm __volatile__
("fldlg2\n\t"
"fxch\n\t"
"fyl2x"
: "=t" (__value) : "0" (__x));
-
+#else
+ __value = linkme_log10(__x);
+#endif /*__GNUC__*/
return __value;
}