summaryrefslogtreecommitdiffstats
path: root/src/ffts_trig.h
diff options
context:
space:
mode:
authorJukka Ojanen <jukka.ojanen@linkotec.net>2015-09-16 17:52:55 +0300
committerJukka Ojanen <jukka.ojanen@linkotec.net>2015-09-16 17:52:55 +0300
commitf4e533c64e0c005e567b3fa76bc3456facbe5484 (patch)
tree2ee9201c2f17045eaf204717dc7a8f722674395c /src/ffts_trig.h
parent7ae74d3d18c9113fffd6530c891add60046c7ee1 (diff)
downloadffts-f4e533c64e0c005e567b3fa76bc3456facbe5484.zip
ffts-f4e533c64e0c005e567b3fa76bc3456facbe5484.tar.gz
Add double-double arithmetic to generate "exact" double precision cosine and sine tables. Correct rounding verified using MPFR upto 2^28. SSE2 optimized ffts_generate_cosine_sine_pow2_64f takes twice as long as ffts_generate_cosine_sine_pow2_32f.
Diffstat (limited to 'src/ffts_trig.h')
-rw-r--r--src/ffts_trig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ffts_trig.h b/src/ffts_trig.h
index cfed2fb..0b22738 100644
--- a/src/ffts_trig.h
+++ b/src/ffts_trig.h
@@ -46,6 +46,9 @@ int
ffts_generate_cosine_sine_pow2_32f(ffts_cpx_32f *const table, int table_size);
int
+ffts_generate_cosine_sine_pow2_64f(ffts_cpx_64f *const table, int table_size);
+
+int
ffts_generate_table_1d_real_32f(struct _ffts_plan_t *const p,
int sign,
int invert);
OpenPOWER on IntegriCloud