slaDtf2r -

SYNOPSYS

void slaDtf2r(ihour, imin, sec, rad, j)

PARAMETERS

int ihour
int imin
double sec
double *rad
int *j

DESCRIPTION


  Convert hours, minutes, seconds to radians.

  (double precision)

Given

     ihour       int           hours
     imin        int           minutes
     sec         double        seconds

Returned

     *rad        double        angle in radians
     *j          int           status:  0 = OK
                                        1 = ihour outside range 0-23
                                        2 = imin outside range 0-59
                                        3 = sec outside range 0-59.999...

Called

     slaDtf2d

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:  D2PI

  P.T.Wallace   Starlink   30 October 1993

SEE ALSO