15 unsigned long long raw;
25 unsigned long long raw;
54 { 1383034209.0, 1383034209LL },
55 { -1383034209.0, -1383034209LL },
56 { 1383034209.1383034209, 1383034209LL },
57 { -1383034209.1383034209, -1383034209LL },
58 { 1383034209.83034209, 1383034209LL },
59 { -1383034209.83034209, -1383034209LL },
60 { 354056757614.0, 354056757614LL },
61 { -354056757614.0, -354056757614LL },
62 { 354056757614.83034209, 354056757614LL },
63 { 18445937028656326656.0, 0x8000000000000000LL },
72 { .given.raw = 0x7FF0000000000000ULL, 0x8000000000000000LL },
73 { .given.raw = 0xFFF0000000000000ULL, 0x8000000000000000LL },
74 { .given.raw = 0x7FF0000000000001ULL, 0x8000000000000000LL },
75 { .given.raw = 0x7FF8000000000001ULL, 0x8000000000000000LL },
76 { .given.raw = 0x7FFFFFFFFFFFFFFFULL, 0x8000000000000000LL },
77 { .given.raw = 0x7FF80000000000F1ULL, 0x8000000000000000LL },
81 { 1383034209.0, 1383034209ULL },
82 { -1383034209.0, 18446744072326517407ULL },
83 { 1383034209.1383034209, 1383034209ULL },
84 { -1383034209.1383034209, 18446744072326517407ULL },
85 { 1383034209.83034209, 1383034209ULL },
86 { -1383034209.83034209, 18446744072326517407ULL },
87 { 354056757614.0, 354056757614ULL },
88 { -354056757614.0, 18446743719652794002ULL },
89 { 354056757614.83034209, 354056757614ULL },
90 { 18445937028656326656.0, 18445937028656326656ULL },
99 { .given.raw = 0x7FF0000000000000ULL, 0x8000000000000000LL },
100 { .given.raw = 0xFFF0000000000000ULL, 0x8000000000000000LL },
101 { .given.raw = 0x7FF0000000000001ULL, 0x8000000000000000LL },
102 { .given.raw = 0x7FF8000000000001ULL, 0x8000000000000000LL },
103 { .given.raw = 0x7FFFFFFFFFFFFFFFULL, 0x8000000000000000LL },
104 { .given.raw = 0x7FF80000000000F1ULL, 0x8000000000000000LL },
108 { 1383034.0f, 1383034LL },
109 { -1383034.0f, -1383034LL },
110 { 1383034.1383034209f, 1383034LL },
111 { -1383034.1383034209f, -1383034LL },
112 { 1383034.83034209f, 1383034LL },
113 { -1383034.83034209f, -1383034LL },
114 { 354056765440.0f, 354056765440LL },
115 { -354056765440.0f, -354056765440LL },
116 { 3000000.75f, 3000000LL },
117 { 18445937032174764032.0f, 0x8000000000000000LL },
120 { -0.0000001f, 0
LL },
126 { .given.raw = 0x7F800000U, 0x8000000000000000LL },
127 { .given.raw = 0xFF800000U, 0x8000000000000000LL },
128 { .given.raw = 0x7F800001U, 0x8000000000000000LL },
129 { .given.raw = 0x7FC00001U, 0x8000000000000000LL },
130 { .given.raw = 0x7F8FFFFFU, 0x8000000000000000LL },
131 { .given.raw = 0x7F8000F1U, 0x8000000000000000LL },
135 { 1383034.0f, 1383034ULL },
136 { -1383034.0f, 18446744073708168582ULL },
137 { 1383034.1383034209f, 1383034ULL },
138 { -1383034.1383034209f, 18446744073708168582ULL },
139 { 1383034.83034209f, 1383034ULL },
140 { -1383034.83034209f, 18446744073708168582ULL },
141 { 354056765440.0f, 354056765440ULL },
142 { -354056765440.0f, 18446743719652786176ULL },
143 { 3000000.75f, 3000000ULL },
144 { 18445937032174764032.0f, 18445937032174764032ULL },
145 { 1.0000001f, 1ULL },
146 { 0.0000001f, 0
ULL },
147 { -0.0000001f, 0
ULL },
153 {.given.raw = 0x7F800000U, 0x8000000000000000LL },
154 {.given.raw = 0xFF800000U, 0x8000000000000000LL },
155 {.given.raw = 0x7F800001U, 0x8000000000000000LL },
156 {.given.raw = 0x7FC00001U, 0x8000000000000000LL },
157 {.given.raw = 0x7F8FFFFFU, 0x8000000000000000LL },
158 {.given.raw = 0x7F8000F1U, 0x8000000000000000LL },
168 ok(actual == dtoi64[
i].
expected,
"(dtoi64) %d: Expected %lld, but %lf -> %lld\n",
174 unsigned long long actual;
176 actual = (
unsigned long long)dtou64[
i].given.
value;
177 ok(actual == dtou64[
i].
expected,
"(dtou64) %d: Expected %llu, but %lf -> %llu\n",
186 ok(actual == stoi64[
i].
expected,
"(stoi64) %d: Expected %lld, but %f -> %lld\n",
192 unsigned long long actual;
194 actual = (
unsigned long long)stou64[
i].given.
value;
195 ok(actual == stou64[
i].
expected,
"(stou64) %d: Expected %llu, but %f -> %llu\n",
struct _DTOU64_TEST_DATA DTOU64_TEST_DATA
struct _STOU64_TEST_DATA STOU64_TEST_DATA
struct _DTOI64_TEST_DATA DTOI64_TEST_DATA
struct _STOI64_TEST_DATA STOI64_TEST_DATA
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
union _DTOI64_TEST_DATA::@1589 given
unsigned long long expected
union _DTOU64_TEST_DATA::@1590 given
union _STOI64_TEST_DATA::@1591 given
union _STOU64_TEST_DATA::@1592 given
unsigned long long expected