slaDaf2r -

SYNOPSYS

void slaDaf2r(ideg, iamin, asec, rad, j)

PARAMETERS

int ideg
int iamin
double asec
double *rad
int *j

DESCRIPTION


  Convert degrees, arcminutes, arcseconds to radians.

  (double precision)

Given

     ideg        int       degrees
     iamin       int       arcminutes
     asec        double    arcseconds

Returned

     *rad        double    angle in radians
     *j          int       status:  0 = OK
                                    1 = ideg outside range 0-359
                                    2 = iamin outside range 0-59
                                    3 = asec outside range 0-59.999...

Notes

     1)  The result is computed even if any of the range checks fail.

     2)  The sign must be dealt with outside this routine.

  Defined in slamac.h:  DAS2R

  P.T.Wallace   Starlink   31 October 1993

SEE ALSO