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
ca6478b2
Commit
ca6478b2
authored
Apr 22, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include/msvcrt: Use _fpclass() instead of _dclass().
dclass() is only available in MSVCR120. Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e7691288
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
math.h
include/msvcrt/math.h
+4
-4
No files found.
include/msvcrt/math.h
View file @
ca6478b2
...
...
@@ -184,10 +184,10 @@ static const union {
#define FP_ZERO 0
short
__cdecl
_dclass
(
double
);
#define isfinite(x) (_
dclass((double)(x)) <= FP_ZERO
)
#define isinf(x) (
_dclass((double)(x)) == FP_INFINITE
)
#define isnan(x) (_
dclass((double)(x)) == FP_NAN
)
#define isnormal(x) (
_dclass((double)(x)) == FP_NORMAL
)
#define isfinite(x) (_
finite(x)
)
#define isinf(x) (
!(_finite(x) || _isnan(x))
)
#define isnan(x) (_
isnan(x)
)
#define isnormal(x) (
!!(_fpclass((double)(x)) & (_FPCLASS_NN|_FPCLASS_PN))
)
#ifdef __cplusplus
}
...
...
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