mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2026-04-19 06:42:43 +00:00
Formatted the entire codebase and added a CI check for formatting
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
#pragma once
|
||||
#include <math.h>
|
||||
|
||||
#define FL_M_PI 3.1415926535f
|
||||
#define FL_M_PI 3.1415926535f
|
||||
|
||||
namespace dsp {
|
||||
namespace math {
|
||||
inline double sinc(double omega, double x, double norm) {
|
||||
return (x == 0.0f) ? 1.0f : (sin(omega*x)/(norm*x));
|
||||
return (x == 0.0f) ? 1.0f : (sin(omega * x) / (norm * x));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user