diff --git a/ocl/f2k.cxx b/ocl/f2k.cxx index a003d9d..c8edfa0 100644 --- a/ocl/f2k.cxx +++ b/ocl/f2k.cxx @@ -553,6 +553,10 @@ void f2k(){ } #endif +#if defined(__APPLE_CC__) || defined(__FreeBSD__) +void sincosf(float x, float * s, float * c){ *s = sin(x); *c = cos(x); } +#endif + void flone(unsigned long long num){ addh(num*(q.eff/dppm)/ovr); } @@ -653,10 +657,6 @@ const float * fldir(){ return dir; } -#if defined(__APPLE_CC__) || defined(__FreeBSD__) -void sincosf(float x, float * s, float * c){ *s = sin(x); *c = cos(x); } -#endif - void flshift(float r[], float n[], float *m = NULL){ float sft[3]={0};