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

Definition at line 3 of file ut1tt.c.

References ERFA_DAYSEC.

Referenced by t_ut1tt().

40 {
41  double dtd;
42 
43 /* Result, safeguarding precision. */
44  dtd = dt / ERFA_DAYSEC;
45  if ( ut11 > ut12 ) {
46  *tt1 = ut11;
47  *tt2 = ut12 + dtd;
48  } else {
49  *tt1 = ut11 + dtd;
50  *tt2 = ut12;
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: