ecat  5.1.2
sincos.h
Go to the documentation of this file.
1 
2 #ifndef sincos_h
3 #define sincos_h
4 #include <math.h>
5 
6 #ifndef M_PI
7 #define M_PI 3.14159265358979323846
8 #endif
9 
10 #if (!defined(WIN32) && !defined(WIN64) && !defined(__sun)) || defined(__SVR4) /* solaris 2.x*/
11 
12 static void sincos(theta, sintheta, costheta)
13 double theta, *sintheta, *costheta;
14 {
15  *sintheta = sin(theta);
16  *costheta = cos(theta);
17 }
18 #endif /* sun */
19 
20 #endif /* sincos_h */
21 
22 
static void * sintheta
Definition: sincos.h:13
static void * costheta
Definition: sincos.h:13