FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
int eraTttdb
(
double
tt1
,
double
tt2
,
double
dtr
,
double *
tdb1
,
double *
tdb2
)
Definition at line
3
of file
tttdb.c
.
References
ERFA_DAYSEC
.
Referenced by
t_tttdb()
.
51
{
52
double
dtrd;
53
54
/* Result, safeguarding precision. */
55
dtrd = dtr /
ERFA_DAYSEC
;
56
if
( tt1 > tt2 ) {
57
*tdb1 = tt1;
58
*tdb2 = tt2 + dtrd;
59
}
else
{
60
*tdb1 = tt1 + dtrd;
61
*tdb2 = tt2;
62
}
63
64
/* Status (always OK). */
65
return
0;
66
67
}
ERFA_DAYSEC
#define ERFA_DAYSEC
Definition:
erfam.h:75
Here is the caller graph for this function:
erfa
src
erfa.h
Generated on Sun Sep 18 2016 20:50:35 for FACT++ by
1.8.11