FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
int eraTdbtt
(
double
tdb1
,
double
tdb2
,
double
dtr
,
double *
tt1
,
double *
tt2
)
Definition at line
3
of file
tdbtt.c
.
References
ERFA_DAYSEC
.
Referenced by
t_tdbtt()
.
51
{
52
double
dtrd;
53
54
/* Result, safeguarding precision. */
55
dtrd = dtr /
ERFA_DAYSEC
;
56
if
( tdb1 > tdb2 ) {
57
*tt1 = tdb1;
58
*tt2 = tdb2 - dtrd;
59
}
else
{
60
*tt1 = tdb1 - dtrd;
61
*tt2 = tdb2;
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
tdbtt.c
Generated on Sun Sep 18 2016 20:50:38 for FACT++ by
1.8.11