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
b0047713
Commit
b0047713
authored
Apr 08, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Portability fix.
parent
9a05e1fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
math.c
dlls/msvcrt/math.c
+20
-0
No files found.
dlls/msvcrt/math.c
View file @
b0047713
...
...
@@ -261,16 +261,36 @@ int _fpclass(double num)
#if defined(HAVE_FPCLASS) || defined(fpclass)
switch
(
fpclass
(
num
))
{
#ifdef FP_SNAN
case
FP_SNAN
:
return
_FPCLASS_SNAN
;
#endif
#ifdef FP_QNAN
case
FP_QNAN
:
return
_FPCLASS_QNAN
;
#endif
#ifdef FP_NINF
case
FP_NINF
:
return
_FPCLASS_NINF
;
#endif
#ifdef FP_PINF
case
FP_PINF
:
return
_FPCLASS_PINF
;
#endif
#ifdef FP_NDENORM
case
FP_NDENORM
:
return
_FPCLASS_ND
;
#endif
#ifdef FP_PDENORM
case
FP_PDENORM
:
return
_FPCLASS_PD
;
#endif
#ifdef FP_NZERO
case
FP_NZERO
:
return
_FPCLASS_NZ
;
#endif
#ifdef FP_PZERO
case
FP_PZERO
:
return
_FPCLASS_PZ
;
#endif
#ifdef FP_NNORM
case
FP_NNORM
:
return
_FPCLASS_NN
;
#endif
#ifdef FP_PNORM
case
FP_PNORM
:
return
_FPCLASS_PN
;
#endif
}
return
_FPCLASS_PN
;
#elif defined (fpclassify)
...
...
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