MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / GetULPDifference

Function GetULPDifference

tests/cpu/SSE_tests.cpp:123–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121{
122
123unsigned GetULPDifference(const float a, const float b)
124{
125 return abs((int)(OCIO::FloatAsInt(a) - OCIO::FloatAsInt(b)));
126}
127
128void EvaluateExp2(const float x, float* result)
129{

Callers 1

AreAllCloseFunction · 0.85

Calls 1

FloatAsIntFunction · 0.85

Tested by

no test coverage detected