aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/os.texi5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi
index cf4ef52abfb..e72858bbf1a 100644
--- a/doc/lispref/os.texi
+++ b/doc/lispref/os.texi
@@ -1979,10 +1979,9 @@ The result is @code{nil} if either argument is a NaN.
1979 1979
1980@defun time-subtract t1 t2 1980@defun time-subtract t1 t2
1981This returns the time difference @var{t1} @minus{} @var{t2} between 1981This returns the time difference @var{t1} @minus{} @var{t2} between
1982two time values, normally as a Lisp timestamp but as a float 1982two time values, as a Lisp time value. The result is exact and its clock
1983if either argument is infinite or a NaN@.
1984When the result is a timestamp, it is exact and its clock
1985resolution is no worse than the worse of its two arguments' resolutions. 1983resolution is no worse than the worse of its two arguments' resolutions.
1984The result is floating-point only if it is infinite or a NaN.
1986If you need the difference in units 1985If you need the difference in units
1987of elapsed seconds, you can convert it with @code{time-convert} or 1986of elapsed seconds, you can convert it with @code{time-convert} or
1988@code{float-time}. @xref{Time Conversion}. 1987@code{float-time}. @xref{Time Conversion}.