2 * Generally useful stuff.
22 double hypotD(const double p[D3], const double q[D3]);
23 double hypotD2(const double p[D3], const double q[D3]);
24 double hypotD2plus(const double p[D3], const double q[D3], double add);
26 double magnD(const double pq[D3]);
27 void xprod(double r[D3], const double a[D3], const double b[D3]);
29 void flushoutput(void);
30 void diee(const char *what);
32 #define FOR_COORD(k) \
33 for ((k)=0; (k)<D3; (k)++)
35 #define K FOR_COORD(k)
40 # define fma_fast(f1,f2,t) ((f1)*(f2)+(t))
42 #define ffsqa(factor,term) fma_fast((factor),(factor),(term))