Commit Graph

26 Commits

Author SHA1 Message Date
Steffen Kieß
5ebbc5e618 Allow setting a suffix for constants and trigonometric functions
In order to use constants or trigonometric functions with a type other than
double, a suffix ('f' for float or 'l' for long double) has to be used in C.
This commit adds a preprocessor macro 'kiss_fft_suffix' which can be set to
either 'f' or 'l' and which will be added to floating point constants and to
the trigonometric functions (sin and cos).

Without this suffix, the code will use a too high precision for float and a
too low precision for long double.
2019-09-24 14:16:06 +02:00
Jason Heeris
d1f9113c51 Include stdint.h only where fixed point types are used. Use min/max values from stdint.h. 2019-04-05 19:27:40 +11:00
jmcph4
bd550240fa Include stdint.h in _kiss_fft_guts.h
This commit adds an `#include` directive for the standard integer
header (`stdint.h`).
2019-03-24 10:44:06 +10:00
h.udo
bc40eccbea
[BSD-3-Clause] Convert to SPDX license format 2018-07-19 14:49:00 +01:00
Mark Borgerding
044352a916 updated copyright dates 2010-05-27 23:01:08 -04:00
Mark Borgerding
57925fd126 made threadsafe 2010-05-27 22:54:01 -04:00
Mark Borgerding
18d0ad1604 *** empty log message *** 2005-10-07 12:29:36 +00:00
Mark Borgerding
4be23bffa4 polishing SIMD changes 2005-06-25 04:38:19 +00:00
Mark Borgerding
7f6cbeab2e added simd capability 2005-06-24 03:03:31 +00:00
Mark Borgerding
10dbc47ff3 added some code for 32 bit fixed point fft -- may not be suitable for all platforms 2005-05-31 02:19:07 +00:00
Mark Borgerding
ed1a5f0cfc made easy to use longs for fixed point 2005-05-11 02:36:33 +00:00
Mark Borgerding
ba105600b4 getting ready for v 1_2_2 2005-05-09 01:43:49 +00:00
Mark Borgerding
4722ccb12b getting ready for long-overdue 1.2.2 2005-05-07 03:02:10 +00:00
Mark Borgerding
75ca67f928 updated copyright years 2004-04-04 21:44:34 +00:00
Mark Borgerding
1bbb274965 split out tmpbuf and scratchbuf, since they are only used in certain cases 2004-04-03 02:59:20 +00:00
Mark Borgerding
dd689e1661 now works on platforms where int is 16 bits. e.g. Renesas M16c 2004-04-03 00:25:37 +00:00
Mark Borgerding
e3fe1598f0 bunch of minor code cleanup 2004-02-27 03:45:12 +00:00
Mark Borgerding
dda6f9638e replaced void pointers with pointers to forward declared structs 2004-02-24 01:29:25 +00:00
Mark Borgerding
b1dad2147b made some things const -- doesn't really have an effect under gcc, but it might under some compilers
added asm target to check to see if the assembly code changes
2004-02-08 17:10:02 +00:00
Mark Borgerding
9b738dc492 slight fast fir changes 2004-01-30 00:17:01 +00:00
Mark Borgerding
4552a14801 added stride to fft input -- should simplify multi-dimensional FFTs 2003-12-29 18:50:13 +00:00
Mark Borgerding
6b23ebb5c1 getting ready for v100 2003-12-15 03:23:46 +00:00
Mark Borgerding
573536f48f fixed scaling for short real
moved fft.py from ./ to sample_code
2003-12-14 05:13:11 +00:00
Mark Borgerding
559c14b49b changed alloc functions to allow for initialization of user-supplied buffer 2003-12-14 03:02:30 +00:00
Mark Borgerding
72de907478 minor doc changes 2003-12-05 00:35:25 +00:00
Mark Borgerding
f3c4a9e9ca internal checkpoint
split kiss_fft.c into multiple files.  It seems the best approach, all things considered.
2003-12-04 02:38:50 +00:00