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

Function anyNaNorInf

tests/client_comp_test.cpp:78–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

testTransientSanityFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected