AlexandreRouma ff6754099f More cleanup
2022-06-26 23:36:31 +02:00

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;
}
}