Mercurial > hg > sv-dependency-builds
view src/fftw-3.3.5/libbench2/caset.c @ 136:ce0478b62770
Add Capnp and KJ builds for Win32
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Wed, 26 Oct 2016 13:24:45 +0100 |
parents | 7867fa7e1b6b |
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); } }