1 2 3 4 5 6 7 8 9
#include "cos.h" #include "cosd.h" void scosda(float* in, int size, float* out) { int i = 0; for (i = 0; i < size; ++i) { out[i] = scosds(in[i]); } }