annotate src/fftw-3.3.5/libbench2/caset.c @ 168:ceec0dd9ec9c

Replace these with versions built using an older toolset (so as to avoid ABI compatibilities when linking on Ubuntu 14.04 for packaging purposes)
author Chris Cannam <cannam@all-day-breakfast.com>
date Fri, 07 Feb 2020 11:51:13 +0000
parents 7867fa7e1b6b
children
rev   line source
cannam@127 1 /* not worth copyrighting */
cannam@127 2
cannam@127 3 #include "bench.h"
cannam@127 4
cannam@127 5 void caset(bench_complex *A, int n, bench_complex x)
cannam@127 6 {
cannam@127 7 int i;
cannam@127 8 for (i = 0; i < n; ++i) {
cannam@127 9 c_re(A[i]) = c_re(x);
cannam@127 10 c_im(A[i]) = c_im(x);
cannam@127 11 }
cannam@127 12 }