kopia lustrzana https://github.com/AlexandreRouma/SDRPlusPlus
8 wiersze
130 B
C
8 wiersze
130 B
C
![]() |
#pragma once
|
||
|
|
||
|
namespace dsp::math {
|
||
|
template <class T>
|
||
|
inline T step(T x) {
|
||
|
return (x > 0.0) ? 1.0 : -1.0;
|
||
|
}
|
||
|
}
|