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
14e93e79
Commit
14e93e79
authored
Jul 09, 2011
by
Misha Koshelev
Committed by
Alexandre Julliard
Jul 12, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36: Use cross-platform versions of infinity and NaN.
parent
4b9b9b3b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
math.c
dlls/d3dx9_36/tests/math.c
+7
-4
No files found.
dlls/d3dx9_36/tests/math.c
View file @
14e93e79
...
...
@@ -2218,6 +2218,9 @@ static void test_D3DXVec_Array(void)
static
void
test_D3DXFloat_Array
(
void
)
{
static
const
float
z
=
0
.
0
f
;
float
nnan
=
0
.
0
f
/
z
;
float
nan
=
-
nnan
;
unsigned
int
i
;
void
*
out
=
NULL
;
D3DXFLOAT16
half
;
...
...
@@ -2248,10 +2251,10 @@ static void test_D3DXFloat_Array(void)
{
-
65534
.
0
f
,
0xfc00
,
0xfc00
,
-
65536
.
0
f
,
-
65536
.
0
f
},
{
-
65535
.
0
f
,
0xfc00
,
0xfc00
,
-
65535
.
0
f
,
-
65536
.
0
f
},
{
-
65536
.
0
f
,
0xfc00
,
0xfc00
,
-
65536
.
0
f
,
-
65536
.
0
f
},
{
INFINITY
,
0x7c00
,
0x7fff
,
65536
.
0
f
,
131008
.
0
f
},
{
-
INFINITY
,
0xffff
,
0xffff
,
-
131008
.
0
f
,
-
131008
.
0
f
},
{
NAN
,
0x7fff
,
0x7fff
,
131008
.
0
f
,
131008
.
0
f
},
{
-
NAN
,
0xffff
,
0xffff
,
-
131008
.
0
f
,
-
131008
.
0
f
},
{
1
.
0
f
/
z
,
0x7c00
,
0x7fff
,
65536
.
0
f
,
131008
.
0
f
},
{
-
1
.
0
f
/
z
,
0xffff
,
0xffff
,
-
131008
.
0
f
,
-
131008
.
0
f
},
{
nan
,
0x7fff
,
0x7fff
,
131008
.
0
f
,
131008
.
0
f
},
{
nnan
,
0xffff
,
0xffff
,
-
131008
.
0
f
,
-
131008
.
0
f
},
{
0
.
0
f
,
0x0
,
0x0
,
0
.
0
f
,
0
.
0
f
},
{
-
0
.
0
f
,
0x8000
,
0x8000
,
0
.
0
f
,
0
.
0
f
},
{
2.9809595e-08
f
,
0x0
,
0x0
,
0
.
0
f
,
0
.
0
f
},
...
...
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