Commit d621accb authored by Dylan Smith's avatar Dylan Smith Committed by Alexandre Julliard

d3dx9/tests: Added tests for rounding of denormalized number for D3DXFloat32To16Array.

parent cac35191
......@@ -2254,6 +2254,11 @@ static void test_D3DXFloat_Array(void)
{ -NAN, 0xffff, 0xffff, -131008.0f, -131008.0f },
{ 0.0f, 0x0, 0x0, 0.0f, 0.0f },
{ -0.0f, 0x8000, 0x8000, 0.0f, 0.0f },
{ 2.9809595e-08f, 0x0, 0x0, 0.0f, 0.0f },
{ -2.9809595e-08f, 0x8000, 0x8000, -0.0f, -0.0f },
{ 2.9809598e-08f, 0x1, 0x1, 5.96046e-08f, 5.96046e-08f },
{ -2.9809598e-08f, 0x8001, 0x8001, -5.96046e-08f, -5.96046e-08f },
{ 8.9406967e-08f, 0x2, 0x2, 1.19209e-07f, 1.19209e-07f }
};
/* exception on NULL out or in parameter */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment