source: trunk/MagicSoft/slalib/cr2af.c@ 10005

Last change on this file since 10005 was 731, checked in by tbretz, 24 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 785 bytes
Line 
1#include "slalib.h"
2#include "slamac.h"
3void slaCr2af ( int ndp, float angle, char *sign, int idmsf[4] )
4/*
5** - - - - - - - - -
6** s l a C r 2 a f
7** - - - - - - - - -
8**
9** Convert an angle in radians into degrees, arcminutes, arcseconds.
10**
11** (single precision)
12**
13** Given:
14** ndp int number of decimal places of arcseconds
15** angle float 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: D15B29
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, (double) angle * D15B2P, sign, idmsf );
33}
Note: See TracBrowser for help on using the repository browser.