FACT++  1.0
int eraTtut1 ( double  tt1,
double  tt2,
double  dt,
double *  ut11,
double *  ut12 
)

Definition at line 3 of file ttut1.c.

References ERFA_DAYSEC.

Referenced by t_ttut1().

40 {
41  double dtd;
42 
43 /* Result, safeguarding precision. */
44  dtd = dt / ERFA_DAYSEC;
45  if ( tt1 > tt2 ) {
46  *ut11 = tt1;
47  *ut12 = tt2 - dtd;
48  } else {
49  *ut11 = tt1 - dtd;
50  *ut12 = tt2;
51  }
52 
53 /* Status (always OK). */
54  return 0;
55 
56 }
#define ERFA_DAYSEC
Definition: erfam.h:75

+ Here is the caller graph for this function: