1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/testing/kissfft/mpil.patch
psykose 46f299eb75 testing/kissfft: new aport
https://github.com/mborgerding/kissfft
Fast Fourier Transform (FFT) library that tries to Keep it Simple, Stupid
2023-02-25 16:15:06 +00:00

14 lines
378 B
Diff

M_PI{x} are gnu extensions, for long double / float
diff --git a/test/testcpp.cc b/test/testcpp.cc
index a62f6e0..9ab7009 100644
--- a/test/testcpp.cc
+++ b/test/testcpp.cc
@@ -19,6 +19,8 @@ double curtime(void)
return (double)tv.tv_sec + (double)tv.tv_usec*.000001;
}
+#define M_PIl 3.141592653589793238462643383279502884L
+
using namespace std;
template <class T>