FACT++  1.0
int eraTaiut1 ( double  tai1,
double  tai2,
double  dta,
double *  ut11,
double *  ut12 
)

Definition at line 3 of file taiut1.c.

References ERFA_DAYSEC.

Referenced by eraUtcut1(), and t_taiut1().

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

+ Here is the caller graph for this function: