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
09a727c3
Commit
09a727c3
authored
Sep 12, 2015
by
Piotr Caban
Committed by
Alexandre Julliard
Sep 14, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcr120: Add fmin implementation.
parent
e4823f9b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
6 deletions
+34
-6
msvcr120.spec
dlls/msvcr120/msvcr120.spec
+3
-3
msvcr120_app.spec
dlls/msvcr120_app/msvcr120_app.spec
+3
-3
math.c
dlls/msvcrt/math.c
+28
-0
No files found.
dlls/msvcr120/msvcr120.spec
View file @
09a727c3
...
...
@@ -2167,9 +2167,9 @@
@ cdecl fmax(double double) MSVCR120_fmax
@ cdecl fmaxf(float float) MSVCR120_fmaxf
@ cdecl fmaxl(double double) MSVCR120_fmax
@
stub
fmin
@
stub
fminf
@
stub fminl
@
cdecl fmin(double double) MSVCR120_
fmin
@
cdecl fminf(float float) MSVCR120_
fminf
@
cdecl fminl(double double) MSVCR120_fmin
@ cdecl fmod(double double) MSVCRT_fmod
@ cdecl -arch=arm,x86_64 fmodf(float float) MSVCRT_fmodf
@ cdecl fopen(str str) MSVCRT_fopen
...
...
dlls/msvcr120_app/msvcr120_app.spec
View file @
09a727c3
...
...
@@ -1836,9 +1836,9 @@
@ cdecl fmax(double double) msvcr120.fmax
@ cdecl fmaxf(float float) msvcr120.fmaxf
@ cdecl fmaxl(double double) msvcr120.fmaxl
@
stub
fmin
@
stub
fminf
@
stub
fminl
@
cdecl fmin(double double) msvcr120.
fmin
@
cdecl fminf(float float) msvcr120.
fminf
@
cdecl fminl(double double) msvcr120.
fminl
@ cdecl fmod(double double) msvcr120.fmod
@ cdecl -arch=arm,x86_64 fmodf(float float) msvcr120.fmodf
@ cdecl fopen(str str) msvcr120.fopen
...
...
dlls/msvcrt/math.c
View file @
09a727c3
...
...
@@ -2683,3 +2683,31 @@ int CDECL MSVCR120__dsign(double x)
{
return
signbit
(
x
)
?
0x8000
:
0
;
}
/*********************************************************************
* fminf (MSVCR120.@)
*/
float
CDECL
MSVCR120_fminf
(
float
x
,
float
y
)
{
if
(
isnanf
(
x
))
return
y
;
if
(
isnanf
(
y
))
return
x
;
if
(
x
==
0
&&
y
==
0
)
return
signbit
(
x
)
?
x
:
y
;
return
x
<
y
?
x
:
y
;
}
/*********************************************************************
* fmin (MSVCR120.@)
*/
double
CDECL
MSVCR120_fmin
(
double
x
,
double
y
)
{
if
(
isnan
(
x
))
return
y
;
if
(
isnan
(
y
))
return
x
;
if
(
x
==
0
&&
y
==
0
)
return
signbit
(
x
)
?
x
:
y
;
return
x
<
y
?
x
:
y
;
}
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