Searched defs:sgn (Results 1 - 4 of 4) sorted by relevance

/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));
/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...]

Completed in 487 milliseconds