aboutsummaryrefslogtreecommitdiff
path: root/math/slalib/doc/dtf2r.hlp
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /math/slalib/doc/dtf2r.hlp
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'math/slalib/doc/dtf2r.hlp')
-rw-r--r--math/slalib/doc/dtf2r.hlp39
1 files changed, 39 insertions, 0 deletions
diff --git a/math/slalib/doc/dtf2r.hlp b/math/slalib/doc/dtf2r.hlp
new file mode 100644
index 00000000..ff3fcfbe
--- /dev/null
+++ b/math/slalib/doc/dtf2r.hlp
@@ -0,0 +1,39 @@
+.help dtf2r Jun99 "Slalib Package"
+.nf
+
+ SUBROUTINE slDTFR (IHOUR, IMIN, SEC, RAD, J)
+
+ - - - - - -
+ D T F R
+ - - - - - -
+
+ Convert hours, minutes, seconds to radians (double precision)
+
+ Given:
+ IHOUR int hours
+ IMIN int minutes
+ SEC dp seconds
+
+ Returned:
+ RAD dp 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:
+ slDTFD
+
+ Notes:
+
+ 1) The result is computed even if any of the range checks fail.
+
+ 2) The sign must be dealt with outside this routine.
+
+ P.T.Wallace Starlink July 1984
+
+ Copyright (C) 1995 Rutherford Appleton Laboratory
+ Copyright (C) 1995 Association of Universities for Research in Astronomy Inc.
+
+.fi
+.endhelp