Searched refs:sgn (Results 1 - 5 of 5) sorted by relevance

/vbox/src/VBox/Devices/Graphics/shaderlib/
H A Dwined3d_private.h236 const float sgn = (s ? -1.0f : 1.0f); local
239 if(m == 0) return sgn * 0.0f; /* +0.0 or -0.0 */
240 else return sgn * pow(2, -14.0f) * ((float)m / 1024.0f);
242 return sgn * pow(2, (float)e - 15.0f) * (1.0f + ((float)m / 1024.0f));
244 if(m == 0) return sgn>0? *(float*)(&fInf) : *(float*)(&fNegInf); //sgn / 0.0f; /* +INF / -INF */
251 const float sgn = in & 0x800000 ? -1.0f : 1.0f; local
260 if (m == 0) return sgn * 0.0f; /* +0.0 or -0.0 */
261 else return sgn * pow(2, -6.0f) * ((float)m / 524288.0f);
265 return sgn * po
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/
H A Dwined3d_private.h225 const float sgn = (s ? -1.0f : 1.0f); local
228 if(m == 0) return sgn * 0.0f; /* +0.0 or -0.0 */
229 else return sgn * pow(2, -14.0f) * ((float)m / 1024.0f);
231 return sgn * pow(2, (float)e - 15.0f) * (1.0f + ((float)m / 1024.0f));
233 if(m == 0) return sgn>0? *(float*)(&fInf) : *(float*)(&fNegInf); //sgn / 0.0f; /* +INF / -INF */
240 const float sgn = in & 0x800000 ? -1.0f : 1.0f; local
249 if (m == 0) return sgn * 0.0f; /* +0.0 or -0.0 */
250 else return sgn * pow(2, -6.0f) * ((float)m / 524288.0f);
254 return sgn * po
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/
H A Dwined3d_private.h245 const float sgn = (s ? -1.0f : 1.0f); local
248 if(m == 0) return sgn * 0.0f; /* +0.0 or -0.0 */
249 else return sgn * powf(2, -14.0f) * ((float)m / 1024.0f);
251 return sgn * powf(2, (float)e - 15.0f) * (1.0f + ((float)m / 1024.0f));
253 if(m == 0) return sgn * INFINITY;
260 const float sgn = in & 0x800000 ? -1.0f : 1.0f; local
266 if (m == 0) return sgn * 0.0f; /* +0.0 or -0.0 */
267 else return sgn * powf(2, -6.0f) * ((float)m / 524288.0f);
271 return sgn * powf(2, (float)e - 7.0f) * (1.0f + ((float)m / 524288.0f));
275 if (m == 0) return sgn * INFINIT
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/tests/
H A Dcms_test.c1337 * @v sgn Test signature
1339 #define cms_signature_ok( sgn ) do { \
1340 ok ( cms_signature ( (sgn)->data, (sgn)->len, \
1341 &(sgn)->sig ) == 0 ); \
1347 * @v sgn Test signature
1353 #define cms_verify_ok( sgn, code, name, time, root ) do { \
1354 x509_invalidate_chain ( (sgn)->sig->certificates ); \
1355 ok ( cms_verify ( (sgn)->sig, virt_to_user ( (code)->data ), \
1362 * @v sgn Tes
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Enquire/
H A DEnquire.c1470 #define sgn(x) ((is_signed(x))?Signed:Unsigned) macro
1567 #define checktype(x, n, s, t) if((sgn(x)!=s)||(sizeof(x)!=sizeof(t))) typerr(n, s, (int)sizeof(t), sgn(x), (int)sizeof(x));

Completed in 80 milliseconds