Mercurial > hg > sv-dependency-builds
view src/fftw-3.3.3/libbench2/caset.c @ 149:279b18cc7785
Update Win32 capnp builds to v0.6
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Tue, 23 May 2017 09:16:54 +0100 |
parents | 89f5e221ed7b |
children |
line wrap: on
line source
/* not worth copyrighting */ #include "bench.h" void caset(bench_complex *A, int n, bench_complex x) { int i; for (i = 0; i < n; ++i) { c_re(A[i]) = c_re(x); c_im(A[i]) = c_im(x); } }