source: trunk/MagicSoft/slalib/dr2tf.c@ 10075

Last change on this file since 10075 was 731, checked in by tbretz, 24 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 768 bytes
Line 
1#include "slalib.h"
2#include "slamac.h"
3void slaDr2tf ( int ndp, double angle, char *sign, int ihmsf[4] )
4/*
5** - - - - - - - - -
6** s l a D r 2 t f
7** - - - - - - - - -
8**
9** Convert an angle in radians to hours, minutes, seconds.
10**
11** (double precision)
12**
13** Given:
14** ndp int number of decimal places of seconds
15** angle double angle in radians
16**
17** Returned:
18** sign char* '+' or '-'
19** ihmsf int[4] hours, minutes, seconds, fraction
20**
21** Called:
22** slaDd2tf
23**
24** Defined in slamac.h: D2PI
25**
26** Last revision: 18 November 1993
27**
28** Copyright P.T.Wallace. All rights reserved.
29*/
30{
31/* Scale then use days to h,m,s routine */
32 slaDd2tf ( ndp, angle / D2PI, sign, ihmsf );
33}
Note: See TracBrowser for help on using the repository browser.