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

Definition at line 6805 of file t_erfa_c.c.

References eraPv2s(), and vvd().

Referenced by main().

6820 {
6821  double pv[2][3], theta, phi, r, td, pd, rd;
6822 
6823 
6824  pv[0][0] = -0.4514964673880165;
6825  pv[0][1] = 0.03093394277342585;
6826  pv[0][2] = 0.05594668105108779;
6827 
6828  pv[1][0] = 1.292270850663260e-5;
6829  pv[1][1] = 2.652814182060692e-6;
6830  pv[1][2] = 2.568431853930293e-6;
6831 
6832  eraPv2s(pv, &theta, &phi, &r, &td, &pd, &rd);
6833 
6834  vvd(theta, 3.073185307179586515, 1e-12, "eraPv2s", "theta", status);
6835  vvd(phi, 0.1229999999999999992, 1e-12, "eraPv2s", "phi", status);
6836  vvd(r, 0.4559999999999999757, 1e-12, "eraPv2s", "r", status);
6837  vvd(td, -0.7800000000000000364e-5, 1e-16, "eraPv2s", "td", status);
6838  vvd(pd, 0.9010000000000001639e-5, 1e-16, "eraPv2s", "pd", status);
6839  vvd(rd, -0.1229999999999999832e-4, 1e-16, "eraPv2s", "rd", status);
6840 
6841 }
void eraPv2s(double pv[2][3], double *theta, double *phi, double *r, double *td, double *pd, double *rd)
Definition: pv2s.c:3
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
Definition: t_erfa_c.c:58

+ Here is the call graph for this function:

+ Here is the caller graph for this function: