Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
123
unsigned GetULPDifference(const float a, const float b)
124
{
125
return abs((int)(OCIO::FloatAsInt(a) - OCIO::FloatAsInt(b)));
126
}
127
128
void EvaluateExp2(const float x, float* result)
129
{
Callers
1
AreAllClose
Function · 0.85
Calls
1
FloatAsInt
Function · 0.85
Tested by
no test coverage detected