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

Function anyNaNorInf

tests/client_gate_test.cpp:73–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73bool anyNaNorInf(const float* data, int frames)
74{
75 const int samples = frames * 2;
76 for (int i = 0; i < samples; ++i) {
77 if (!std::isfinite(data[i])) return true;
78 }
79 return false;
80}
81
82float linToDb(float lin)
83{

Callers 2

testResetFunction · 0.70
testTransientSanityFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected