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
ec2f02db
Commit
ec2f02db
authored
May 26, 2015
by
Piotr Caban
Committed by
Alexandre Julliard
May 26, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcr120: Add fmax implementation.
parent
852f6a5b
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 @
ec2f02db
...
...
@@ -2164,9 +2164,9 @@
@ stub fma
@ stub fmaf
@ stub fmal
@
stub
fmax
@
stub
fmaxf
@
stub fmaxl
@
cdecl fmax(double double) MSVCR120_
fmax
@
cdecl fmaxf(float float) MSVCR120_
fmaxf
@
cdecl fmaxl(double double) MSVCR120_fmax
@ stub fmin
@ stub fminf
@ stub fminl
...
...
dlls/msvcr120_app/msvcr120_app.spec
View file @
ec2f02db
...
...
@@ -1833,9 +1833,9 @@
@ stub fma
@ stub fmaf
@ stub fmal
@
stub
fmax
@
stub
fmaxf
@
stub
fmaxl
@
cdecl fmax(double double) msvcr120.
fmax
@
cdecl fmaxf(float float) msvcr120.
fmaxf
@
cdecl fmaxl(double double) msvcr120.
fmaxl
@ stub fmin
@ stub fminf
@ stub fminl
...
...
dlls/msvcrt/math.c
View file @
ec2f02db
...
...
@@ -2605,3 +2605,31 @@ short CDECL MSVCR120__ldtest(LDOUBLE *x)
{
return
MSVCR120__dclass
(
*
x
);
}
/*********************************************************************
* fmaxf (MSVCR120.@)
*/
float
CDECL
MSVCR120_fmaxf
(
float
x
,
float
y
)
{
if
(
isnanf
(
x
))
return
y
;
if
(
isnanf
(
y
))
return
x
;
if
(
x
==
0
&&
y
==
0
)
return
signbit
(
x
)
?
y
:
x
;
return
x
<
y
?
y
:
x
;
}
/*********************************************************************
* fmax (MSVCR120.@)
*/
double
CDECL
MSVCR120_fmax
(
double
x
,
double
y
)
{
if
(
isnan
(
x
))
return
y
;
if
(
isnan
(
y
))
return
x
;
if
(
x
==
0
&&
y
==
0
)
return
signbit
(
x
)
?
y
:
x
;
return
x
<
y
?
y
:
x
;
}
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