1 /* sincos -- currently no more efficient than two separate calls to 2 sin and cos. */ 3 4 #include "fdlibm.h" 5 #include <errno.h> 6 7 #ifndef _DOUBLE_IS_32BITS 8 9 #ifdef __STDC__ sincos(double x,double * sinx,double * cosx)10 void sincos(double x, double *sinx, double *cosx) 11 #else 12 void sincos(x, sinx, cosx) 13 double x; 14 double *sinx; 15 double *cosx; 16 #endif 17 { 18 *sinx = sin (x); 19 *cosx = cos (x); 20 } 21 22 #endif /* defined(_DOUBLE_IS_32BITS) */ 23