Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AcademySoftwareFoundation/OpenColorIO
/ Reciprocal
Function
Reciprocal
src/OpenColorIO/ops/cdl/CDLOpCPU.cpp:20–23 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
18
const float RcpMinValue = 1e-2f;
19
20
inline float Reciprocal(float x)
21
{
22
return 1.0f / std::max(x, RcpMinValue);
23
}
24
25
RenderParams::RenderParams()
26
{
Callers
1
update
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected