mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-03-14 13:00:08 +01:00
8 lines
130 B
C++
8 lines
130 B
C++
#pragma once
|
|
|
|
namespace dsp::math {
|
|
template <class T>
|
|
inline T step(T x) {
|
|
return (x > 0.0) ? 1.0 : -1.0;
|
|
}
|
|
} |