diff options
author | Daniil Cherednik <dan.cherednik@gmail.com> | 2024-07-06 10:56:15 +0000 |
---|---|---|
committer | Daniil Cherednik <dan.cherednik@gmail.com> | 2024-07-06 10:56:15 +0000 |
commit | 41705edc6d36ad013cbcb171d53891f3c33764d8 (patch) | |
tree | c88a75ab8089720d0e354037d0585eb1d51af20a /include | |
parent | 311a633f24410ce3302526941b32639aa8869654 (diff) | |
download | libgha-master.tar.gz |
Projects which use the library may have own fft librray.
Projects may use double precision floating point numbers.
Diffstat (limited to 'include')
-rw-r--r-- | include/libgha.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/libgha.h b/include/libgha.h index f3221f8..5ff09c8 100644 --- a/include/libgha.h +++ b/include/libgha.h @@ -6,7 +6,12 @@ extern "C" { #endif /* __cplusplus */ -#define FLOAT float +#ifdef GHA_USE_DOUBLE_API +# define kiss_fft_scalar double +# define FLOAT double +#else +# define FLOAT float +#endif #include <stddef.h> |