source: trunk/MagicSoft/slalib/epj.c@ 9929

Last change on this file since 9929 was 731, checked in by tbretz, 24 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 547 bytes
Line 
1#include "slalib.h"
2#include "slamac.h"
3double slaEpj ( double date )
4/*
5** - - - - - - -
6** s l a E p j
7** - - - - - - -
8**
9** Conversion of Modified Julian Date to Julian epoch.
10**
11** (double precision)
12**
13** Given:
14** date double Modified Julian Date (JD - 2400000.5)
15**
16** The result is the Julian epoch.
17**
18** Reference:
19** Lieske,J.H., 1979. Astron. Astrophys.,73,282.
20**
21** Last revision: 31 October 1993
22**
23** Copyright P.T.Wallace. All rights reserved.
24*/
25{
26 return 2000.0 + ( date - 51544.5 ) / 365.25;
27}
Note: See TracBrowser for help on using the repository browser.