aboutsummaryrefslogtreecommitdiff
path: root/math/slalib/doc/dtf2d.hlp
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
commitfa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch)
treebdda434976bc09c864f2e4fa6f16ba1952b1e555 /math/slalib/doc/dtf2d.hlp
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
Diffstat (limited to 'math/slalib/doc/dtf2d.hlp')
-rw-r--r--math/slalib/doc/dtf2d.hlp36
1 files changed, 36 insertions, 0 deletions
diff --git a/math/slalib/doc/dtf2d.hlp b/math/slalib/doc/dtf2d.hlp
new file mode 100644
index 00000000..eef108f4
--- /dev/null
+++ b/math/slalib/doc/dtf2d.hlp
@@ -0,0 +1,36 @@
+.help dtf2d Jun99 "Slalib Package"
+.nf
+
+ SUBROUTINE slDTFD (IHOUR, IMIN, SEC, DAYS, J)
+
+ - - - - - -
+ D T F D
+ - - - - - -
+
+ Convert hours, minutes, seconds to days (double precision)
+
+ Given:
+ IHOUR int hours
+ IMIN int minutes
+ SEC dp seconds
+
+ Returned:
+ DAYS dp interval in days
+ J int status: 0 = OK
+ 1 = IHOUR outside range 0-23
+ 2 = IMIN outside range 0-59
+ 3 = SEC 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.
+
+ 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