FACT++  1.0
static void t_p2s ( int *  status)
static

Definition at line 5149 of file t_erfa_c.c.

References eraP2s(), and vvd().

Referenced by main().

5164 {
5165  double p[3], theta, phi, r;
5166 
5167 
5168  p[0] = 100.0;
5169  p[1] = -50.0;
5170  p[2] = 25.0;
5171 
5172  eraP2s(p, &theta, &phi, &r);
5173 
5174  vvd(theta, -0.4636476090008061162, 1e-12, "eraP2s", "theta", status);
5175  vvd(phi, 0.2199879773954594463, 1e-12, "eraP2s", "phi", status);
5176  vvd(r, 114.5643923738960002, 1e-9, "eraP2s", "r", status);
5177 
5178 }
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
Definition: t_erfa_c.c:58
void eraP2s(double p[3], double *theta, double *phi, double *r)
Definition: p2s.c:3

+ Here is the call graph for this function:

+ Here is the caller graph for this function: