Use fast arm sin/cos.

This commit is contained in:
Kwabena W. Agyeman 2018-06-19 00:10:51 -04:00 committed by iabdalkader
parent bd77afbc0a
commit 2040647fbb

View File

@ -78,8 +78,8 @@ either expressed or implied, of the Regents of The University of Michigan.
#define log2(x) fast_log2(x)
#undef log2f
#define log2f(x) fast_log2(x)
#define cos(x) cosf(x)
#define sin(x) sinf(x)
#define sin(x) arm_sin_f32(x)
#define cos(x) arm_cos_f32(x)
#define fmin(a, b) ({ __typeof__ (a) _a = (a); __typeof__ (b) _b = (b); _a < _b ? _a : _b; })
#define fminf(a, b) ({ __typeof__ (a) _a = (a); __typeof__ (b) _b = (b); _a < _b ? _a : _b; })
#define fmax(a, b) ({ __typeof__ (a) _a = (a); __typeof__ (b) _b = (b); _a > _b ? _a : _b; })