MCPcopy Create free account
hub / github.com/EricLengyel/Terathon-Math-Library / VecFloatGetMinusZero

Function VecFloatGetMinusZero

TSSimd.h:317–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315 }
316
317 inline vec_float VecFloatGetMinusZero(void)
318 {
319 #if defined(TERATHON_SSE)
320
321 alignas(16) static const uint32 float_80000000[4] = {0x80000000, 0x80000000, 0x80000000, 0x80000000};
322 return (_mm_load_ps(reinterpret_cast<const float *>(float_80000000)));
323
324 #elif defined(TERATHON_NEON)
325
326 return (vmovq_n_f32(-0.0F));
327
328 #endif
329 }
330
331 template <uint32 value>
332 inline vec_float VecLoadVectorConstant(void)

Callers 14

FabsFunction · 0.85
FnabsFunction · 0.85
SinMethod · 0.85
CosMethod · 0.85
TanMethod · 0.85
CosSinMethod · 0.85
VecFloorFunction · 0.85
VecFloorScalarFunction · 0.85
VecCeilFunction · 0.85
VecCeilScalarFunction · 0.85
VecFsgnFunction · 0.85
VecFnsgnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected