source: trunk/MagicSoft/slalib/dr2af.c@ 10313

Last change on this file since 10313 was 731, checked in by tbretz, 24 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 791 bytes
Line 
1#include "slalib.h"
2#include "slamac.h"
3void slaDr2af ( int ndp, double angle, char *sign, int idmsf[4] )
4/*
5** - - - - - - - - -
6** s l a D r 2 a f
7** - - - - - - - - -
8**
9** Convert an angle in radians to degrees, arcminutes, arcseconds.
10**
11** (double precision)
12**
13** Given:
14** ndp int number of decimal places of arcseconds
15** angle double angle in radians
16**
17** Returned:
18** sign char* '+' or '-'
19** idmsf int[4] degrees, arcminutes, arcseconds, fraction
20**
21** Called:
22** slaDd2tf
23**
24** Defined in slamac.h: D15B2P
25**
26** Last revision: 19 November 1995
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 * D15B2P, sign, idmsf );
33}
Note: See TracBrowser for help on using the repository browser.