- Properly stub atan2/exp/fmod/ldexp for MSVC -- #error out on them instead of callin...
authorStefan Ginsberg <stefanginsberg@gmail.com>
Fri, 7 Aug 2009 16:40:11 +0000 (16:40 +0000)
committerStefan Ginsberg <stefanginsberg@gmail.com>
Fri, 7 Aug 2009 16:40:11 +0000 (16:40 +0000)
svn path=/trunk/; revision=42471

reactos/lib/sdk/crt/math/i386/atan2.c
reactos/lib/sdk/crt/math/i386/exp.c
reactos/lib/sdk/crt/math/i386/fmod.c
reactos/lib/sdk/crt/math/i386/ldexp.c

index 0fc14db..f6c910a 100644 (file)
@@ -15,7 +15,7 @@ double atan2 (double __y, double __x)
      "fld %%st(0)"
      : "=t" (__val) : "0" (__x), "u" (__y));
 #else
-  __val = linkme_atan2(__x, __y);
+#error IMPLEMENT ME
 #endif /*__GNUC__*/
   return __val;
 }
index 3a58be0..9baa570 100644 (file)
@@ -42,6 +42,6 @@ double exp (double __x)
 
   return __value;
 #else
-  return linkme_exp(__x);
+#error IMPLEMENT ME
 #endif /*__GNUC__*/
 }
index 7a1f0ce..b724d48 100644 (file)
@@ -33,7 +33,7 @@ double fmod (double __x, double __y)
      "jp        1b"
      : "=t" (__val) : "0" (__x), "u" (__y) : "ax", "cc");
 #else
-  __val = linkme_fmod(__x, __y);
+#error IMPLEMENT ME
 #endif /*__GNUC__*/
   return __val;
 }
index 8217505..97046f1 100644 (file)
@@ -30,7 +30,7 @@ double ldexp (double __x, int __y)
     ("fscale"
      : "=t" (__val) : "0" (__x), "u" ((double) __y));
 #else
-  __val = linkme_ldexp(__x, __y);
+#error IMPLEMENT ME
 #endif /*__GNUC__*/
   return __val;
 }