FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
int eraAf2a
(
char
s
,
int
ideg
,
int
iamin
,
double
asec
,
double *
rad
)
Definition at line
4
of file
af2a.c
.
References
ERFA_DAS2R
.
Referenced by
palDaf2r()
, and
t_af2a()
.
40
{
41
42
/* Compute the interval. */
43
*rad = ( s ==
'-'
? -1.0 : 1.0 ) *
44
( 60.0 * ( 60.0 * ( (
double
) abs(ideg) ) +
45
( (
double
) abs(iamin) ) ) +
46
fabs(asec) ) *
ERFA_DAS2R
;
47
48
/* Validate arguments and return status. */
49
if
( ideg < 0 || ideg > 359 )
return
1;
50
if
( iamin < 0 || iamin > 59 )
return
2;
51
if
( asec < 0.0 || asec >= 60.0 )
return
3;
52
return
0;
53
54
}
ERFA_DAS2R
#define ERFA_DAS2R
Definition:
erfam.h:60
Here is the caller graph for this function:
erfa
src
erfa.h
Generated on Sun Sep 18 2016 20:50:34 for FACT++ by
1.8.11