9feadb98a9
Merge pull request #96 from cmumford/m_pi
...
Use M_PI instead of M_PIl
2025-07-11 14:30:53 -04:00
aff158e922
Create long double pi constant
2025-07-11 13:59:41 -04:00
1c3c9a5c94
call $(MAKE) instead of make
2025-02-01 18:19:23 +01:00
d12c0e1206
Use M_PI instead of M_PIl
...
M_PIl is the double precision constant for pi (3.14...).
This is not defined in all toolchains, resulting in the
following build error:
```
test/testcpp.cc:46:35: error: use of undeclared identifier 'M_PIl'; did you mean 'P_PID'?
46 | long double phinc = 2*k0* M_PIl / nfft;
| ^~~~~
| P_PID
```
The double precision constants may be a GNU extension. See:
https://www.gnu.org/software/libc/manual/html_node/Mathematical-Constants.html_node
Switching the test to use the single precision M_PI avoids this
error. The test still passes as the added precision of the
double is not required.
This fixes #87 .
2024-11-19 11:14:47 -05:00
59c8cdfb08
fixed test/Makefile line 137 missing ')'
2021-10-18 00:43:05 +08:00
7c9a5586a9
testkiss.py: Do not depend on tools/fft_*
...
Fixes test run with -DKISSFFT_TOOLS=OFF
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com >
2021-02-05 13:34:16 +02:00
7eeda21377
Add testsuite
...
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com >
2021-02-05 13:34:16 +02:00
cccf41adf2
Overhaul CMake makefiles
...
* Minimum CMake version lowered to 3.6 (tested on 3.6.1)
* Refactored CMake configuration options
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com >
2021-02-05 13:34:16 +02:00
2e2747c129
Overhaul Make makefiles
...
* Header files and correspondent C sources that define
functions recently added to public API moved from
'tools' directory to root
* By default, install prefix is '/usr/local/', and header
install path is '${PREFIX}/include/kissfft'
* Added detection of external libraries like FFTW or libPNG
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com >
2021-02-05 13:34:16 +02:00
e321f7a4d7
dropped -Waggregate-return from warning flags as it created spurious warnings for recent c++ compilation (found through cmake build on CentOS 8)
2021-01-23 11:53:53 -05:00
7651bdaaa1
Increase CTest interval
...
* Fixes failing testcpp by timeout
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com >
2021-01-21 17:07:39 +02:00
a63dfc7f11
Build tools + tests with cmake + add VERSION + parallel install
2020-10-30 02:49:49 +01:00
cf5813a1b4
added test for simd crash to "make testall" and thus travis CI
2020-04-19 10:06:56 -04:00
b30b93cd97
A test case for issue #40 . Segfaults with: make -C test test_simd && ./test/test_simd
2020-04-19 09:57:40 -04:00
b420613372
I had to fix some python3 incompatibilities and realized how embarrassing the code was. I refactored to make it look a little more like it was written by someone who knows Python.
2020-03-15 14:53:58 -04:00
b24d80769b
removed unused and rotted code ( closes #25 )
2019-07-19 10:44:21 -04:00
cbf1f0eed1
removed unused and unmaintained mk_test.py
2019-02-01 07:40:39 -05:00
a7ea65edb1
more modern python
2019-02-01 07:38:42 -05:00
e931ae3d4b
no longer use deprecated popen2 module
2019-02-01 07:20:01 -05:00
0dca78f0a5
added missing copyright notice
2018-07-21 11:02:03 -04:00
4bff6bca72
[Unlicense] Convert to SPDX license format
2018-07-19 14:49:00 +01:00
8924f4e4ad
check return value from system call
2012-07-18 00:10:47 -04:00
8a01c6085d
merge and fixes for RedHat 5.5 gcc 64bit
2012-07-18 00:19:37 -04:00
4faaa83075
converted testkiss.py from Numeric to numpy
2012-07-17 23:31:00 -04:00
dc6bfad0ab
previous gcc versions might've been silently adding -lm at the end of the link line.
2012-07-15 22:35:28 -04:00
57925fd126
made threadsafe
2010-05-27 22:54:01 -04:00
089923378d
working sourecforge bug
2009-11-28 04:14:47 +00:00
6f20be2ffb
updated twotonetest to take fft size as input
2009-11-06 18:34:24 +00:00
51e95088b3
*** empty log message ***
2009-10-09 19:06:16 +00:00
26f8faa6e8
changed code from memalign to _mm_malloc
2009-09-28 15:55:19 +00:00
0aaf69c005
using -mtune=native
2009-09-22 01:53:33 +00:00
3a4db1fed7
*** empty log message ***
2009-05-18 03:23:38 +00:00
3a27b71226
*** empty log message ***
2009-05-18 02:30:47 +00:00
2b5477d54c
first addition of kissfft.hh the C++ template fft engine
2009-05-17 23:57:26 +00:00
3df04c8671
openmp directives
2008-08-22 21:43:25 +00:00
348d8dd530
removed x86 specifics
2007-01-07 00:01:59 +00:00
3dae7a23a6
changed python2.3 to python
2007-01-07 00:00:52 +00:00
277ec6a77d
*** empty log message ***
2006-11-14 19:52:42 +00:00
633c0587ad
*** empty log message ***
2006-11-14 19:43:17 +00:00
1922ba0d4e
update benchmark tool to allow multi-dimensional and/or real FFTs
2006-11-14 19:40:58 +00:00
97ce553a94
fwd, inverse N-d real FFTs now work to the best of my knowledge
2006-11-14 18:57:44 +00:00
b4d5ded242
fwd kissfftndr sorta works, but the packing is wrong, or at least different from FFTW
2006-11-14 15:32:22 +00:00
7f68a2916b
*** empty log message ***
2006-11-13 21:06:39 +00:00
a95fbd464f
woops bad file paths
2006-07-13 02:43:34 +00:00
2cce2ea306
added kiss_fft_next_fast_size() to determine the next number divisible by the radices 2,3,5
2006-06-28 03:25:02 +00:00
a09fc4a364
*** empty log message ***
2006-05-31 03:49:02 +00:00
f0e7410b0e
*** empty log message ***
2006-03-14 14:44:40 +00:00
51a73f7ccc
*** empty log message ***
2006-03-14 02:45:18 +00:00
f088e415b4
real inverse fixed point fft scaling was broken. Now fixed is fixed.
2005-10-27 18:56:45 +00:00
18d0ad1604
*** empty log message ***
2005-10-07 12:29:36 +00:00