MCPcopy Create free account
hub / github.com/OpenPathGuidingLibrary/openpgl / ceil

Function ceil

third-party/embreeSrc/common/math/vec2fa.h:303–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301 //__forceinline Vec2fa trunc(const Vec2fa& a) { return vrndq_f32(a); }
302 __forceinline Vec2fa floor(const Vec2fa& a) { return vrndmq_f32(a); }
303 __forceinline Vec2fa ceil (const Vec2fa& a) { return vrndpq_f32(a); }
304#elif defined (__SSE4_1__)
305 //__forceinline Vec2fa trunc( const Vec2fa& a ) { return _mm_round_ps(a, _MM_FROUND_TO_NEAREST_INT); }
306 __forceinline Vec2fa floor( const Vec2fa& a ) { return _mm_round_ps(a, _MM_FROUND_TO_NEG_INF ); }

Callers

nothing calls this directly

Calls 2

_mm_round_psFunction · 0.85
Vec2faFunction · 0.70

Tested by

no test coverage detected