source: trunk/MagicSoft/slalib/epb.c

Last change on this file was 731, checked in by tbretz, 24 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 565 bytes
Line 
1#include "slalib.h"
2#include "slamac.h"
3double slaEpb ( double date )
4/*
5** - - - - - - -
6** s l a E p b
7** - - - - - - -
8**
9** Conversion of Modified Julian Date to Besselian epoch.
10**
11** (double precision)
12**
13** Given:
14** date double Modified Julian Date (JD - 2400000.5)
15**
16** The result is the Besselian 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 1900.0 + ( date - 15019.81352 ) / 365.242198781;
27}
Note: See TracBrowser for help on using the repository browser.