FACT++  1.0
double eraSp00 ( double  date1,
double  date2 
)

Definition at line 3 of file sp00.c.

References ERFA_DAS2R, ERFA_DJ00, ERFA_DJC, and t.

Referenced by eraApco13(), eraApio13(), eraC2t00a(), eraC2t06a(), eraC2tpe(), eraC2txy(), and t_sp00().

53 {
54  double t, sp;
55 
56 /* Interval between fundamental epoch J2000.0 and current date (JC). */
57  t = ((date1 - ERFA_DJ00) + date2) / ERFA_DJC;
58 
59 /* Approximate s'. */
60  sp = -47e-6 * t * ERFA_DAS2R;
61 
62  return sp;
63 
64 }
#define ERFA_DJ00
Definition: erfam.h:87
#define ERFA_DAS2R
Definition: erfam.h:60
#define ERFA_DJC
Definition: erfam.h:81
TT t
Definition: test_client.c:26

+ Here is the caller graph for this function: