MCPcopy 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

18const float RcpMinValue = 1e-2f;
19
20inline float Reciprocal(float x)
21{
22 return 1.0f / std::max(x, RcpMinValue);
23}
24
25RenderParams::RenderParams()
26{

Callers 1

updateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected