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

Definition at line 188 of file palTest.c.

References palAddet(), palSubet(), and vvd().

Referenced by main().

188  {
189  double r1,d1,r2,d2;
190  double rm = 2.;
191  double dm = -1.;
192  double eq = 1975.;
193 
194 
195  palAddet ( rm, dm, eq, &r1, &d1 );
196  vvd ( r1 - rm, 2.983864874295250e-6, 1e-12, "palAddet",
197  "R", status );
198  vvd ( d1 - dm, 2.379650804185118e-7, 1e-12, "palAddet",
199  "D", status );
200 
201  palSubet ( r1, d1, eq, &r2, &d2 );
202  vvd ( r2 - rm, 0, 1e-12, "palSubet", "R", status );
203  vvd ( d2 - dm, 0, 1e-12, "palSubet", "D", status );
204 
205 }
void palAddet(double rm, double dm, double eq, double *rc, double *dc)
Definition: palAddet.c:88
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
Definition: palTest.c:99
void palSubet(double rc, double dc, double eq, double *rm, double *dm)
Definition: palSubet.c:86

+ Here is the call graph for this function:

+ Here is the caller graph for this function: