fixes for host gcc 4.6.1
[zpugcc/jano.git] / toolchain / gcc / newlib / libm / math / w_sincos.c
blob491efa4184f34794cea6d44ebee2d6d666fcd54e
1 /* sincos -- currently no more efficient than two separate calls to
2 sin and cos. */
4 #include "fdlibm.h"
5 #include <errno.h>
7 #ifndef _DOUBLE_IS_32BITS
9 #ifdef __STDC__
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
18 *sinx = sin (x);
19 *cosx = cos (x);
22 #endif /* defined(_DOUBLE_IS_32BITS) */