Author: gbrunmar Date: Sat Aug 22 12:16:11 2009 New Revision: 42842
URL: http://svn.reactos.org/svn/reactos?rev=42842&view=rev Log: - Implemented MSVC version of ldexp
Modified: trunk/reactos/lib/sdk/crt/math/i386/ldexp.c
Modified: trunk/reactos/lib/sdk/crt/math/i386/ldexp.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/i386/ldexp... ============================================================================== --- trunk/reactos/lib/sdk/crt/math/i386/ldexp.c [iso-8859-1] (original) +++ trunk/reactos/lib/sdk/crt/math/i386/ldexp.c [iso-8859-1] Sat Aug 22 12:16:11 2009 @@ -30,7 +30,14 @@ ("fscale" : "=t" (__val) : "0" (__x), "u" ((double) __y)); #else -#error IMPLEMENT ME + register double __dy = (double)__y; + __asm + { + fld __dy + fld __x + fscale + fstp __val + } #endif /*__GNUC__*/ return __val; }