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

Definition at line 574 of file palTest.c.

References id, palDjcal(), palDjcl(), viv(), and vvd().

Referenced by main().

574  {
575  const double djm = 50123.9999;
576  int iy, im, id;
577  int iydmf[4];
578  int j;
579  double f;
580 
581  palDjcal ( 4, djm, iydmf, &j );
582  viv ( iydmf[0], 1996, "palDjcal", "Y", status );
583  viv ( iydmf[1], 2, "palDjcal", "M", status );
584  viv ( iydmf[2], 10, "palDjcal", "D", status );
585  viv ( iydmf[3], 9999, "palDjcal", "F", status );
586  viv ( j, 0, "palDjcal", "J", status );
587 
588  palDjcl ( djm, &iy, &im, &id, &f, &j );
589  viv ( iy, 1996, "palDjcl", "Y", status );
590  viv ( im, 2, "palDjcl", "M", status );
591  viv ( id, 10, "palDjcl", "D", status );
592  vvd ( f, 0.9999, 1e-7, "palDjcl", "F", status );
593  viv ( j, 0, "palDjcl", "J", status );
594 
595 }
void palDjcl(double djm, int *iy, int *im, int *id, double *fd, int *j)
Definition: palOne2One.c:529
void palDjcal(int ndp, double djm, int iymdf[4], int *j)
Definition: palDjcal.c:80
char id[4]
Definition: FITS.h:71
static void viv(int ival, int ivalok, const char *func, const char *test, int *status)
Definition: palTest.c:65
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: