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)
System-dependent definitions.
Contruct representing a complex number.
Definition: ccp4_types.h:63
Common data structure for floats, ints, and chars.
Definition: ccp4_types.h:44
double r
Definition: ccp4_types.h:63
double i
Definition: ccp4_types.h:64
float32 f
Definition: ccp4_types.h:45
uint32 i
Definition: ccp4_types.h:46
uint8 c[4]
Definition: ccp4_types.h:47
Contruct representing a polar coordinate complex number.
Definition: ccp4_types.h:70
double phi
Definition: ccp4_types.h:71
double r
Definition: ccp4_types.h:70