More cleanup

This commit is contained in:
AlexandreRouma
2022-06-26 23:36:31 +02:00
parent 3f6687659e
commit ff6754099f
20 changed files with 85 additions and 15 deletions

8
core/src/dsp/math/step.h Normal file
View File

@ -0,0 +1,8 @@
#pragma once
namespace dsp::math {
template <class T>
inline T step(T x) {
return (x > 0.0) ? 1.0 : -1.0;
}
}