MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / linToDb

Function linToDb

src/core/ClientPhaseRotator.cpp:11–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9constexpr float kMinusInfDb = -120.0f;
10
11float linToDb(float lin) noexcept
12{
13 if (lin <= 1e-7f) return kMinusInfDb;
14 return 20.0f * std::log10(lin);
15}
16} // namespace
17
18ClientPhaseRotator::ClientPhaseRotator()

Callers 1

processMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected