39 #define maxDWORD 4294967295 //2^32-1; 43 #define PI 3.1415926535897932384626433832795 45 #define ROOT2 1.41421356 49 return t1 > 0.0 ? t1 : -t1;
52 inline double sign(
const double a )
58 inline double sign(
const double t1,
const double t2 )
69 inline double mmin(
const double t1,
const double t2 )
71 return t1 < t2 ? t1 : t2;
74 inline unsigned mmin(
const unsigned t1,
const unsigned t2 )
76 return t1 < t2 ? t1 : t2;
79 inline int mmin(
const int t1,
const int t2 )
81 return t1 < t2 ? t1 : t2;
84 inline double mmax(
const double t1,
const double t2 )
86 return t1 > t2 ? t1 : t2;
89 inline unsigned mmax(
const unsigned t1,
const unsigned t2 )
91 return t1 > t2 ? t1 : t2;
94 inline int mmax(
int t1,
int t2 )
96 return t1 > t2 ? t1 : t2;
99 inline double sqr(
const double& t )
109 unsigned long choose(
unsigned n,
unsigned k );
124 char isEmpty(
const char *line);
127 const char *
skipLine(
const char *l);
__host__ __device__ float2 floor(const float2 v)
ql0001_ & k(htemp+1),(cvec+1),(atemp+1),(bj+1),(bl+1),(bu+1),(x+1),(clamda+1), &iout, infoqp, &zero,(w+1), &lenw,(iw+1), &leniw, &glob_grd.epsmac