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

Definition at line 265 of file palTest.c.

References palAmp(), and vvd().

Referenced by main().

265  {
266  double rm, dm;
267 
268  /* Original SLA test is not accurate since palMapqk
269  differs from slaMapqk */
270  palAmp ( 2.345, -1.234, 50100, 1990, &rm, &dm );
271  vvd ( rm, 2.344472180027961, 1e-6, "palAmp", "R",
272  status );
273  vvd ( dm, -1.233573099847705, 1e-7, "palAmp", "D",
274  status );
275 
276  /* This is the palMapqk test */
277  palAmp( 1.234, -0.567, 55927.0, 2010.0, &rm, &dm );
278  vvd( rm, 1.2335120411026936349, 1.0E-12, "palAmp", "rm", status );
279  vvd( dm, -0.56702908706930343907, 1.0E-12, "palAmp", "dm", status );
280 }
void palAmp(double ra, double da, double date, double eq, double *rm, double *dm)
Definition: palAmp.c:79
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
Definition: palTest.c:99

+ Here is the call graph for this function:

+ Here is the caller graph for this function: