2011-11-16 21:49:56 -04:00
|
|
|
|
|
|
|
#define ft2m(x) ((x) * 0.3048)
|
|
|
|
#define kt2mps(x) ((x) * 0.514444444)
|
|
|
|
#define sqr(x) ((x)*(x))
|
|
|
|
|
|
|
|
double swap_double(double d);
|
|
|
|
void swap_doubles(double *d, unsigned count);
|
|
|
|
float swap_float(float f);
|
|
|
|
void swap_floats(float *f, unsigned count);
|
|
|
|
void set_nonblocking(int fd);
|
2011-11-18 19:07:11 -04:00
|
|
|
double normalise(double v, double min, double max);
|