MCPcopy Create free account
hub / github.com/RenderKit/embree / asInt

Function asInt

common/math/math_sycl.h:29–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27
28 __forceinline float asFloat(const int a) { return __builtin_bit_cast(float,a); }
29 __forceinline int asInt (const float a) { return __builtin_bit_cast(int,a); }
30
31 //__forceinline bool finite ( const float x ) { return _finite(x) != 0; }
32 __forceinline float sign ( const float x ) { return x<0?-1.0f:1.0f; }

Callers 1

signmskFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected