Skip to content

Commit

Permalink
When using EOP files, the different time systems are specified to muc…
Browse files Browse the repository at this point in the history
…h better than a millisecond; extra digits should be shown
  • Loading branch information
Bill-Gray committed Mar 26, 2024
1 parent 497c32d commit aba101f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jd.cpp
Expand Up @@ -289,11 +289,11 @@ int main( int argc, char **argv)


jd = (double)( t2k + j2000);
printf( "Delta-T = TD - UT1 = %.4f; TD - UTC = %.4f; UT1 - UTC = DUT1 = %.4f\n",
printf( "Delta-T = TD - UT1 = %.7f; TD - UTC = %.7f; UT1 - UTC = DUT1 = %.7f\n",
td_minus_ut( jd),
td_minus_utc( jd),
td_minus_utc( jd) - td_minus_ut( jd));
printf( "TDB - TDT = %f milliseconds TAI-UTC = %.3f GPS-UTC = %.3f\n",
printf( "TDB - TDT = %.4f milliseconds TAI-UTC = %.3f GPS-UTC = %.3f\n",
(double)tdb_minus_tdt( t2k / 36525.) * 1000.,
td_minus_utc( jd) - tdt_minus_tai,
td_minus_utc( jd) - tdt_minus_tai - tai_minus_gps);
Expand Down

0 comments on commit aba101f

Please sign in to comment.