Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
51319057
Commit
51319057
authored
Jan 15, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Don't export fabsf on x86_64.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6b2199c3
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
26 additions
and
18 deletions
+26
-18
msvcr110.spec
dlls/msvcr110/msvcr110.spec
+1
-1
msvcr120.spec
dlls/msvcr120/msvcr120.spec
+1
-1
msvcr120_app.spec
dlls/msvcr120_app/msvcr120_app.spec
+1
-1
math.c
dlls/msvcrt/math.c
+16
-12
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-1
math.h
include/msvcrt/math.h
+6
-2
No files found.
dlls/msvcr110/msvcr110.spec
View file @
51319057
...
...
@@ -2015,7 +2015,7 @@
@ cdecl exp(double)
@ cdecl -arch=!i386 expf(float)
@ cdecl fabs(double)
@ cdecl -arch=
!i386
fabsf(float)
@ cdecl -arch=
arm,arm64
fabsf(float)
@ cdecl fclose(ptr)
@ cdecl feof(ptr)
@ cdecl ferror(ptr)
...
...
dlls/msvcr120/msvcr120.spec
View file @
51319057
...
...
@@ -2138,7 +2138,7 @@
@ cdecl expm1f(float)
@ cdecl expm1l(double) expm1
@ cdecl fabs(double)
@ cdecl -arch=
!i386
fabsf(float)
@ cdecl -arch=
arm,arm64
fabsf(float)
@ cdecl fclose(ptr)
@ cdecl fdim(double double)
@ cdecl fdimf(float float)
...
...
dlls/msvcr120_app/msvcr120_app.spec
View file @
51319057
...
...
@@ -1804,7 +1804,7 @@
@ cdecl expm1f(float) msvcr120.expm1f
@ cdecl expm1l(double) msvcr120.expm1l
@ cdecl fabs(double) msvcr120.fabs
@ cdecl -arch=
!i386
fabsf(float) msvcr120.fabsf
@ cdecl -arch=
arm,arm64
fabsf(float) msvcr120.fabsf
@ cdecl fclose(ptr) msvcr120.fclose
@ cdecl fdim(double double) msvcr120.fdim
@ cdecl fdimf(float float) msvcr120.fdimf
...
...
dlls/msvcrt/math.c
View file @
51319057
...
...
@@ -714,18 +714,6 @@ float CDECL ceilf( float x )
}
/*********************************************************************
* fabsf (MSVCRT.@)
*
* Copied from musl: src/math/fabsf.c
*/
float
CDECL
fabsf
(
float
x
)
{
union
{
float
f
;
UINT32
i
;
}
u
=
{
x
};
u
.
i
&=
0x7fffffff
;
return
u
.
f
;
}
/*********************************************************************
* floorf (MSVCRT.@)
*/
float
CDECL
floorf
(
float
x
)
...
...
@@ -751,6 +739,22 @@ float CDECL modff( float x, float *iptr )
#endif
#if !defined(__i386__) && !defined(__x86_64__) && (_MSVCR_VER == 0 || _MSVCR_VER >= 110)
/*********************************************************************
* fabsf (MSVCRT.@)
*
* Copied from musl: src/math/fabsf.c
*/
float
CDECL
fabsf
(
float
x
)
{
union
{
float
f
;
UINT32
i
;
}
u
=
{
x
};
u
.
i
&=
0x7fffffff
;
return
u
.
f
;
}
#endif
/*********************************************************************
* acos (MSVCRT.@)
*
...
...
dlls/msvcrt/msvcrt.spec
View file @
51319057
...
...
@@ -1284,7 +1284,7 @@
@ cdecl exp(double)
@ cdecl -arch=!i386 expf(float)
@ cdecl fabs(double)
@ cdecl -arch=
!i386
fabsf(float)
@ cdecl -arch=
arm,arm64
fabsf(float)
@ cdecl fclose(ptr)
@ cdecl feof(ptr)
@ cdecl ferror(ptr)
...
...
include/msvcrt/math.h
View file @
51319057
...
...
@@ -133,7 +133,6 @@ _ACRTIMP float __cdecl powf(float, float);
_ACRTIMP
float
__cdecl
sqrtf
(
float
);
_ACRTIMP
float
__cdecl
ceilf
(
float
);
_ACRTIMP
float
__cdecl
floorf
(
float
);
_ACRTIMP
float
__cdecl
fabsf
(
float
);
_ACRTIMP
float
__cdecl
frexpf
(
float
,
int
*
);
_ACRTIMP
float
__cdecl
modff
(
float
,
float
*
);
_ACRTIMP
float
__cdecl
fmodf
(
float
,
float
);
...
...
@@ -161,7 +160,6 @@ static inline float powf(float x, float y) { return pow(x, y); }
static
inline
float
sqrtf
(
float
x
)
{
return
sqrt
(
x
);
}
static
inline
float
ceilf
(
float
x
)
{
return
ceil
(
x
);
}
static
inline
float
floorf
(
float
x
)
{
return
floor
(
x
);
}
static
inline
float
fabsf
(
float
x
)
{
return
fabs
(
x
);
}
static
inline
float
frexpf
(
float
x
,
int
*
y
)
{
return
frexp
(
x
,
y
);
}
static
inline
float
modff
(
float
x
,
float
*
y
)
{
double
yd
,
ret
=
modf
(
x
,
&
yd
);
*
y
=
yd
;
return
ret
;
}
static
inline
float
fmodf
(
float
x
,
float
y
)
{
return
fmod
(
x
,
y
);
}
...
...
@@ -172,6 +170,12 @@ static inline int _fpclassf(float x) { return _fpclass(x); }
#endif
#if !defined(__i386__) && !defined(__x86_64__) && (_MSVCR_VER == 0 || _MSVCR_VER >= 110)
_ACRTIMP
float
__cdecl
fabsf
(
float
);
#else
static
inline
float
fabsf
(
float
x
)
{
return
fabs
(
x
);
}
#endif
#if !defined(__i386__) || _MSVCR_VER>=120
_ACRTIMP
float
__cdecl
_chgsignf
(
float
);
...
...
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