Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
9
constexpr float kMinusInfDb = -120.0f;
10
11
float linToDb(float lin) noexcept
12
{
13
if (lin <= 1e-7f) return kMinusInfDb;
14
return 20.0f * std::log10(lin);
15
}
16
} // namespace
17
18
ClientPhaseRotator::ClientPhaseRotator()
Callers
1
process
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected