Go to the documentation of this file.
32 typedef unsigned short uint16;
34 typedef unsigned long uint32;
36 typedef unsigned int uint32;
38 typedef float float32;
39 typedef unsigned char uint8;
63 typedef struct {
double r;
70 typedef struct {
double r;
80 #define SQR(x) ((x)*(x))
88 #define DEGREE(x) ((((x < 0)?(x)+2*M_PI:(x))*360)/(2*M_PI))
96 #define RADIAN(x) ((((x<0)?(x)+360:(x))*2*M_PI)/360)
103 #define MAX(x, y) (((x)>(y))?(x):(y))
110 #define MIN(x, y) (((x)<(y))?(x):(y))
117 #define ABS(x) (((x)<0)?-(x):(x))
124 #define SIGN(x) (((x)<0)?-1:1)