mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 04:13:32 +00:00
- Implemented MSVC version of ldexp
svn path=/trunk/; revision=42842
This commit is contained in:
@@ -30,7 +30,14 @@ double ldexp (double __x, int __y)
|
||||
("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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user