Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
b5ba4baa
Commit
b5ba4baa
authored
Apr 03, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Use the copysign()/copysignf() implementation from the bundled musl library.
parent
233eea6c
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
24 additions
and
50 deletions
+24
-50
crtdll.spec
dlls/crtdll/crtdll.spec
+1
-1
msvcr100.spec
dlls/msvcr100/msvcr100.spec
+2
-2
msvcr110.spec
dlls/msvcr110/msvcr110.spec
+2
-2
msvcr120.spec
dlls/msvcr120/msvcr120.spec
+5
-5
msvcr70.spec
dlls/msvcr70/msvcr70.spec
+1
-1
msvcr71.spec
dlls/msvcr71/msvcr71.spec
+1
-1
msvcr80.spec
dlls/msvcr80/msvcr80.spec
+2
-2
msvcr90.spec
dlls/msvcr90/msvcr90.spec
+2
-2
math.c
dlls/msvcrt/math.c
+0
-26
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+2
-2
msvcrtd.spec
dlls/msvcrtd/msvcrtd.spec
+1
-1
ucrtbase.spec
dlls/ucrtbase/ucrtbase.spec
+5
-5
No files found.
dlls/crtdll/crtdll.spec
View file @
b5ba4baa
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
@ extern _commode_dll MSVCRT__commode
@ extern _commode_dll MSVCRT__commode
@ cdecl _control87(long long)
@ cdecl _control87(long long)
@ cdecl _controlfp(long long)
@ cdecl _controlfp(long long)
@ cdecl _copysign(double double)
@ cdecl _copysign(double double)
copysign
@ varargs _cprintf(str)
@ varargs _cprintf(str)
@ extern _cpumode_dll CRTDLL__cpumode_dll
@ extern _cpumode_dll CRTDLL__cpumode_dll
@ cdecl _cputs(str)
@ cdecl _cputs(str)
...
...
dlls/msvcr100/msvcr100.spec
View file @
b5ba4baa
...
@@ -733,8 +733,8 @@
...
@@ -733,8 +733,8 @@
@ cdecl _control87(long long)
@ cdecl _control87(long long)
@ cdecl _controlfp(long long)
@ cdecl _controlfp(long long)
@ cdecl _controlfp_s(ptr long long)
@ cdecl _controlfp_s(ptr long long)
@ cdecl _copysign(double double)
@ cdecl _copysign(double double)
copysign
@ cdecl -arch=!i386 _copysignf(float float)
@ cdecl -arch=!i386 _copysignf(float float)
copysignf
@ varargs _cprintf(str)
@ varargs _cprintf(str)
@ stub _cprintf_l
@ stub _cprintf_l
@ stub _cprintf_p
@ stub _cprintf_p
...
...
dlls/msvcr110/msvcr110.spec
View file @
b5ba4baa
...
@@ -1081,8 +1081,8 @@
...
@@ -1081,8 +1081,8 @@
@ cdecl _control87(long long)
@ cdecl _control87(long long)
@ cdecl _controlfp(long long)
@ cdecl _controlfp(long long)
@ cdecl _controlfp_s(ptr long long)
@ cdecl _controlfp_s(ptr long long)
@ cdecl _copysign(double double)
@ cdecl _copysign(double double)
copysign
@ cdecl -arch=!i386 _copysignf(float float)
@ cdecl -arch=!i386 _copysignf(float float)
copysignf
@ varargs _cprintf(str)
@ varargs _cprintf(str)
@ stub _cprintf_l
@ stub _cprintf_l
@ stub _cprintf_p
@ stub _cprintf_p
...
...
dlls/msvcr120/msvcr120.spec
View file @
b5ba4baa
...
@@ -1073,8 +1073,8 @@
...
@@ -1073,8 +1073,8 @@
@ cdecl _control87(long long)
@ cdecl _control87(long long)
@ cdecl _controlfp(long long)
@ cdecl _controlfp(long long)
@ cdecl _controlfp_s(ptr long long)
@ cdecl _controlfp_s(ptr long long)
@ cdecl _copysign(double double)
@ cdecl _copysign(double double)
copysign
@ cdecl _copysignf(float float)
@ cdecl _copysignf(float float)
copysignf
@ varargs _cprintf(str)
@ varargs _cprintf(str)
@ stub _cprintf_l
@ stub _cprintf_l
@ stub _cprintf_p
@ stub _cprintf_p
...
@@ -2091,9 +2091,9 @@
...
@@ -2091,9 +2091,9 @@
@ stub conj
@ stub conj
@ stub conjf
@ stub conjf
@ stub conjl
@ stub conjl
@ cdecl copysign(double double)
_copysign
@ cdecl copysign(double double)
@ cdecl copysignf(float float)
_copysignf
@ cdecl copysignf(float float)
@ cdecl copysignl(double double)
_
copysign
@ cdecl copysignl(double double) copysign
@ cdecl cos(double)
@ cdecl cos(double)
@ cdecl -arch=!i386 cosf(float)
@ cdecl -arch=!i386 cosf(float)
@ cdecl cosh(double)
@ cdecl cosh(double)
...
...
dlls/msvcr70/msvcr70.spec
View file @
b5ba4baa
...
@@ -258,7 +258,7 @@
...
@@ -258,7 +258,7 @@
@ extern _commode MSVCRT__commode
@ extern _commode MSVCRT__commode
@ cdecl _control87(long long)
@ cdecl _control87(long long)
@ cdecl _controlfp(long long)
@ cdecl _controlfp(long long)
@ cdecl _copysign(double double)
@ cdecl _copysign(double double)
copysign
@ varargs _cprintf(str)
@ varargs _cprintf(str)
@ cdecl _cputs(str)
@ cdecl _cputs(str)
@ cdecl _cputws(wstr)
@ cdecl _cputws(wstr)
...
...
dlls/msvcr71/msvcr71.spec
View file @
b5ba4baa
...
@@ -253,7 +253,7 @@
...
@@ -253,7 +253,7 @@
@ extern _commode MSVCRT__commode
@ extern _commode MSVCRT__commode
@ cdecl _control87(long long)
@ cdecl _control87(long long)
@ cdecl _controlfp(long long)
@ cdecl _controlfp(long long)
@ cdecl _copysign(double double)
@ cdecl _copysign(double double)
copysign
@ varargs _cprintf(str)
@ varargs _cprintf(str)
@ cdecl _cputs(str)
@ cdecl _cputs(str)
@ cdecl _cputws(wstr)
@ cdecl _cputws(wstr)
...
...
dlls/msvcr80/msvcr80.spec
View file @
b5ba4baa
...
@@ -397,8 +397,8 @@
...
@@ -397,8 +397,8 @@
@ cdecl _control87(long long)
@ cdecl _control87(long long)
@ cdecl _controlfp(long long)
@ cdecl _controlfp(long long)
@ cdecl _controlfp_s(ptr long long)
@ cdecl _controlfp_s(ptr long long)
@ cdecl _copysign(double double)
@ cdecl _copysign(double double)
copysign
@ cdecl -arch=!i386 _copysignf(float float)
@ cdecl -arch=!i386 _copysignf(float float)
copysignf
@ varargs _cprintf(str)
@ varargs _cprintf(str)
@ stub _cprintf_l
@ stub _cprintf_l
@ stub _cprintf_p
@ stub _cprintf_p
...
...
dlls/msvcr90/msvcr90.spec
View file @
b5ba4baa
...
@@ -380,8 +380,8 @@
...
@@ -380,8 +380,8 @@
@ cdecl _control87(long long)
@ cdecl _control87(long long)
@ cdecl _controlfp(long long)
@ cdecl _controlfp(long long)
@ cdecl _controlfp_s(ptr long long)
@ cdecl _controlfp_s(ptr long long)
@ cdecl _copysign(double double)
@ cdecl _copysign(double double)
copysign
@ cdecl -arch=!i386 _copysignf(float float)
@ cdecl -arch=!i386 _copysignf(float float)
copysignf
@ varargs _cprintf(str)
@ varargs _cprintf(str)
@ stub _cprintf_l
@ stub _cprintf_l
@ stub _cprintf_p
@ stub _cprintf_p
...
...
dlls/msvcrt/math.c
View file @
b5ba4baa
...
@@ -217,19 +217,6 @@ float CDECL _chgsignf( float num )
...
@@ -217,19 +217,6 @@ float CDECL _chgsignf( float num )
}
}
/*********************************************************************
/*********************************************************************
* _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.@)
* _nextafterf (MSVCRT.@)
*
*
* Copied from musl: src/math/nextafterf.c
* Copied from musl: src/math/nextafterf.c
...
@@ -5724,19 +5711,6 @@ int CDECL fesetround(int round_mode)
...
@@ -5724,19 +5711,6 @@ int CDECL fesetround(int round_mode)
#endif
/* _MSVCR_VER>=120 */
#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.@)
* _finite (MSVCRT.@)
*/
*/
int
CDECL
_finite
(
double
num
)
int
CDECL
_finite
(
double
num
)
...
...
dlls/msvcrt/msvcrt.spec
View file @
b5ba4baa
...
@@ -367,8 +367,8 @@
...
@@ -367,8 +367,8 @@
@ cdecl _control87(long long)
@ cdecl _control87(long long)
@ cdecl _controlfp(long long)
@ cdecl _controlfp(long long)
@ cdecl _controlfp_s(ptr long long)
@ cdecl _controlfp_s(ptr long long)
@ cdecl _copysign(double double)
@ cdecl _copysign(double double)
copysign
@ cdecl -arch=!i386 _copysignf(float float)
@ cdecl -arch=!i386 _copysignf(float float)
copysignf
@ varargs _cprintf(str)
@ varargs _cprintf(str)
# stub _cprintf_l(str ptr)
# stub _cprintf_l(str ptr)
# stub _cprintf_p(str)
# stub _cprintf_p(str)
...
...
dlls/msvcrtd/msvcrtd.spec
View file @
b5ba4baa
...
@@ -242,7 +242,7 @@
...
@@ -242,7 +242,7 @@
@ extern _commode MSVCRT__commode
@ extern _commode MSVCRT__commode
@ cdecl _control87(long long)
@ cdecl _control87(long long)
@ cdecl _controlfp(long long)
@ cdecl _controlfp(long long)
@ cdecl _copysign(double double)
@ cdecl _copysign(double double)
copysign
@ varargs _cprintf(str)
@ varargs _cprintf(str)
@ cdecl _cputs(str)
@ cdecl _cputs(str)
@ cdecl _creat(str long)
@ cdecl _creat(str long)
...
...
dlls/ucrtbase/ucrtbase.spec
View file @
b5ba4baa
...
@@ -237,8 +237,8 @@
...
@@ -237,8 +237,8 @@
@ cdecl _control87(long long)
@ cdecl _control87(long long)
@ cdecl _controlfp(long long)
@ cdecl _controlfp(long long)
@ cdecl _controlfp_s(ptr long long)
@ cdecl _controlfp_s(ptr long long)
@ cdecl _copysign(double double)
@ cdecl _copysign(double double)
copysign
@ cdecl _copysignf(float float)
@ cdecl _copysignf(float float)
copysignf
@ cdecl _cputs(str)
@ cdecl _cputs(str)
@ cdecl _cputws(wstr)
@ cdecl _cputws(wstr)
@ cdecl _creat(str long)
@ cdecl _creat(str long)
...
@@ -2236,9 +2236,9 @@
...
@@ -2236,9 +2236,9 @@
@ stub conj
@ stub conj
@ stub conjf
@ stub conjf
@ stub conjl
@ stub conjl
@ cdecl copysign(double double)
_copysign
@ cdecl copysign(double double)
@ cdecl copysignf(float float)
_copysignf
@ cdecl copysignf(float float)
@ cdecl copysignl(double double)
_
copysign
@ cdecl copysignl(double double) copysign
@ cdecl cos(double)
@ cdecl cos(double)
@ cdecl -arch=!i386 cosf(float)
@ cdecl -arch=!i386 cosf(float)
@ cdecl cosh(double)
@ cdecl cosh(double)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment