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
bf859348
Commit
bf859348
authored
Jul 21, 2021
by
Piotr Caban
Committed by
Alexandre Julliard
Jul 21, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Use _MCW_RC rounding mask in fesetround and fegetround.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8647f7ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
math.c
dlls/msvcrt/math.c
+3
-3
No files found.
dlls/msvcrt/math.c
View file @
bf859348
...
...
@@ -5801,7 +5801,7 @@ int CDECL __fpe_flt_rounds(void)
*/
int
CDECL
fegetround
(
void
)
{
return
_controlfp
(
0
,
0
)
&
_
RC_CHOP
;
return
_controlfp
(
0
,
0
)
&
_
MCW_RC
;
}
/*********************************************************************
...
...
@@ -5809,9 +5809,9 @@ int CDECL fegetround(void)
*/
int
CDECL
fesetround
(
int
round_mode
)
{
if
(
round_mode
&
(
~
_
RC_CHOP
))
if
(
round_mode
&
(
~
_
MCW_RC
))
return
1
;
_controlfp
(
round_mode
,
_
RC_CHOP
);
_controlfp
(
round_mode
,
_
MCW_RC
);
return
0
;
}
...
...
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