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

Function anyNaNorInf

tests/client_deess_test.cpp:67–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67bool anyNaNorInf(const float* data, int frames)
68{
69 const int samples = frames * 2;
70 for (int i = 0; i < samples; ++i) {
71 if (!std::isfinite(data[i])) return true;
72 }
73 return false;
74}
75
76float linToDb(float lin)
77{

Callers 2

testTransientSanityFunction · 0.70
testResetFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected