mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 16:05:46 +00:00
msvcrt: Use the copysign()/copysignf() implementation from the bundled musl library.
This commit is contained in:
parent
233eea6cfa
commit
b5ba4baa51
|
@ -64,7 +64,7 @@
|
|||
@ extern _commode_dll MSVCRT__commode
|
||||
@ cdecl _control87(long long)
|
||||
@ cdecl _controlfp(long long)
|
||||
@ cdecl _copysign(double double)
|
||||
@ cdecl _copysign(double double) copysign
|
||||
@ varargs _cprintf(str)
|
||||
@ extern _cpumode_dll CRTDLL__cpumode_dll
|
||||
@ cdecl _cputs(str)
|
||||
|
|
|
@ -733,8 +733,8 @@
|
|||
@ cdecl _control87(long long)
|
||||
@ cdecl _controlfp(long long)
|
||||
@ cdecl _controlfp_s(ptr long long)
|
||||
@ cdecl _copysign(double double)
|
||||
@ cdecl -arch=!i386 _copysignf(float float)
|
||||
@ cdecl _copysign(double double) copysign
|
||||
@ cdecl -arch=!i386 _copysignf(float float) copysignf
|
||||
@ varargs _cprintf(str)
|
||||
@ stub _cprintf_l
|
||||
@ stub _cprintf_p
|
||||
|
|
|
@ -1081,8 +1081,8 @@
|
|||
@ cdecl _control87(long long)
|
||||
@ cdecl _controlfp(long long)
|
||||
@ cdecl _controlfp_s(ptr long long)
|
||||
@ cdecl _copysign(double double)
|
||||
@ cdecl -arch=!i386 _copysignf(float float)
|
||||
@ cdecl _copysign(double double) copysign
|
||||
@ cdecl -arch=!i386 _copysignf(float float) copysignf
|
||||
@ varargs _cprintf(str)
|
||||
@ stub _cprintf_l
|
||||
@ stub _cprintf_p
|
||||
|
|
|
@ -1073,8 +1073,8 @@
|
|||
@ cdecl _control87(long long)
|
||||
@ cdecl _controlfp(long long)
|
||||
@ cdecl _controlfp_s(ptr long long)
|
||||
@ cdecl _copysign(double double)
|
||||
@ cdecl _copysignf(float float)
|
||||
@ cdecl _copysign(double double) copysign
|
||||
@ cdecl _copysignf(float float) copysignf
|
||||
@ varargs _cprintf(str)
|
||||
@ stub _cprintf_l
|
||||
@ stub _cprintf_p
|
||||
|
@ -2091,9 +2091,9 @@
|
|||
@ stub conj
|
||||
@ stub conjf
|
||||
@ stub conjl
|
||||
@ cdecl copysign(double double) _copysign
|
||||
@ cdecl copysignf(float float) _copysignf
|
||||
@ cdecl copysignl(double double) _copysign
|
||||
@ cdecl copysign(double double)
|
||||
@ cdecl copysignf(float float)
|
||||
@ cdecl copysignl(double double) copysign
|
||||
@ cdecl cos(double)
|
||||
@ cdecl -arch=!i386 cosf(float)
|
||||
@ cdecl cosh(double)
|
||||
|
|
|
@ -258,7 +258,7 @@
|
|||
@ extern _commode MSVCRT__commode
|
||||
@ cdecl _control87(long long)
|
||||
@ cdecl _controlfp(long long)
|
||||
@ cdecl _copysign(double double)
|
||||
@ cdecl _copysign(double double) copysign
|
||||
@ varargs _cprintf(str)
|
||||
@ cdecl _cputs(str)
|
||||
@ cdecl _cputws(wstr)
|
||||
|
|
|
@ -253,7 +253,7 @@
|
|||
@ extern _commode MSVCRT__commode
|
||||
@ cdecl _control87(long long)
|
||||
@ cdecl _controlfp(long long)
|
||||
@ cdecl _copysign(double double)
|
||||
@ cdecl _copysign(double double) copysign
|
||||
@ varargs _cprintf(str)
|
||||
@ cdecl _cputs(str)
|
||||
@ cdecl _cputws(wstr)
|
||||
|
|
|
@ -397,8 +397,8 @@
|
|||
@ cdecl _control87(long long)
|
||||
@ cdecl _controlfp(long long)
|
||||
@ cdecl _controlfp_s(ptr long long)
|
||||
@ cdecl _copysign(double double)
|
||||
@ cdecl -arch=!i386 _copysignf(float float)
|
||||
@ cdecl _copysign(double double) copysign
|
||||
@ cdecl -arch=!i386 _copysignf(float float) copysignf
|
||||
@ varargs _cprintf(str)
|
||||
@ stub _cprintf_l
|
||||
@ stub _cprintf_p
|
||||
|
|
|
@ -380,8 +380,8 @@
|
|||
@ cdecl _control87(long long)
|
||||
@ cdecl _controlfp(long long)
|
||||
@ cdecl _controlfp_s(ptr long long)
|
||||
@ cdecl _copysign(double double)
|
||||
@ cdecl -arch=!i386 _copysignf(float float)
|
||||
@ cdecl _copysign(double double) copysign
|
||||
@ cdecl -arch=!i386 _copysignf(float float) copysignf
|
||||
@ varargs _cprintf(str)
|
||||
@ stub _cprintf_l
|
||||
@ stub _cprintf_p
|
||||
|
|
|
@ -216,19 +216,6 @@ float CDECL _chgsignf( float num )
|
|||
return u.f;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _copysignf (MSVCRT.@)
|
||||
*
|
||||
* Copied from musl: src/math/copysignf.c
|
||||
*/
|
||||
float CDECL _copysignf( float x, float y )
|
||||
{
|
||||
union { float f; UINT32 i; } ux = { x }, uy = { y };
|
||||
ux.i &= 0x7fffffff;
|
||||
ux.i |= uy.i & 0x80000000;
|
||||
return ux.f;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _nextafterf (MSVCRT.@)
|
||||
*
|
||||
|
@ -5723,19 +5710,6 @@ int CDECL fesetround(int round_mode)
|
|||
|
||||
#endif /* _MSVCR_VER>=120 */
|
||||
|
||||
/*********************************************************************
|
||||
* _copysign (MSVCRT.@)
|
||||
*
|
||||
* Copied from musl: src/math/copysign.c
|
||||
*/
|
||||
double CDECL _copysign( double x, double y )
|
||||
{
|
||||
union { double f; UINT64 i; } ux = { x }, uy = { y };
|
||||
ux.i &= ~0ull >> 1;
|
||||
ux.i |= uy.i & 1ull << 63;
|
||||
return ux.f;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _finite (MSVCRT.@)
|
||||
*/
|
||||
|
|
|
@ -367,8 +367,8 @@
|
|||
@ cdecl _control87(long long)
|
||||
@ cdecl _controlfp(long long)
|
||||
@ cdecl _controlfp_s(ptr long long)
|
||||
@ cdecl _copysign(double double)
|
||||
@ cdecl -arch=!i386 _copysignf(float float)
|
||||
@ cdecl _copysign(double double) copysign
|
||||
@ cdecl -arch=!i386 _copysignf(float float) copysignf
|
||||
@ varargs _cprintf(str)
|
||||
# stub _cprintf_l(str ptr)
|
||||
# stub _cprintf_p(str)
|
||||
|
|
|
@ -242,7 +242,7 @@
|
|||
@ extern _commode MSVCRT__commode
|
||||
@ cdecl _control87(long long)
|
||||
@ cdecl _controlfp(long long)
|
||||
@ cdecl _copysign(double double)
|
||||
@ cdecl _copysign(double double) copysign
|
||||
@ varargs _cprintf(str)
|
||||
@ cdecl _cputs(str)
|
||||
@ cdecl _creat(str long)
|
||||
|
|
|
@ -237,8 +237,8 @@
|
|||
@ cdecl _control87(long long)
|
||||
@ cdecl _controlfp(long long)
|
||||
@ cdecl _controlfp_s(ptr long long)
|
||||
@ cdecl _copysign(double double)
|
||||
@ cdecl _copysignf(float float)
|
||||
@ cdecl _copysign(double double) copysign
|
||||
@ cdecl _copysignf(float float) copysignf
|
||||
@ cdecl _cputs(str)
|
||||
@ cdecl _cputws(wstr)
|
||||
@ cdecl _creat(str long)
|
||||
|
@ -2236,9 +2236,9 @@
|
|||
@ stub conj
|
||||
@ stub conjf
|
||||
@ stub conjl
|
||||
@ cdecl copysign(double double) _copysign
|
||||
@ cdecl copysignf(float float) _copysignf
|
||||
@ cdecl copysignl(double double) _copysign
|
||||
@ cdecl copysign(double double)
|
||||
@ cdecl copysignf(float float)
|
||||
@ cdecl copysignl(double double) copysign
|
||||
@ cdecl cos(double)
|
||||
@ cdecl -arch=!i386 cosf(float)
|
||||
@ cdecl cosh(double)
|
||||
|
|
Loading…
Reference in a new issue