Last change
on this file since 14751 was 731, checked in by tbretz, 24 years ago |
*** empty log message ***
|
-
Property svn:executable
set to
*
|
File size:
695 bytes
|
Line | |
---|
1 | #include "slalib.h"
|
---|
2 | #include "slamac.h"
|
---|
3 | void slaCd2tf ( int ndp, float days, char *sign, int ihmsf[4] )
|
---|
4 | /*
|
---|
5 | ** - - - - - - - - -
|
---|
6 | ** s l a C d 2 t f
|
---|
7 | ** - - - - - - - - -
|
---|
8 | **
|
---|
9 | ** Convert an interval in days into hours, minutes, seconds.
|
---|
10 | **
|
---|
11 | ** (single precision)
|
---|
12 | **
|
---|
13 | ** Given:
|
---|
14 | ** ndp int number of decimal places of seconds
|
---|
15 | ** days float interval in days
|
---|
16 | **
|
---|
17 | ** Returned:
|
---|
18 | ** sign char* '+' or '-'
|
---|
19 | ** ihmsf int[4] hours, minutes, seconds, fraction
|
---|
20 | **
|
---|
21 | ** Called: slaDd2tf
|
---|
22 | **
|
---|
23 | ** Last revision: 11 December 1993
|
---|
24 | **
|
---|
25 | ** Copyright P.T.Wallace. All rights reserved.
|
---|
26 | */
|
---|
27 | {
|
---|
28 | /* Use double version */
|
---|
29 | slaDd2tf ( ndp, (double) days, sign, ihmsf );
|
---|
30 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.