summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2002-03-21 13:27:59 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2002-03-21 13:27:59 (GMT)
commit5650f82fd8c736c7cab9d1fb4a4bb100b64626de (patch)
treec4f2d2cee0c650326d5d8683d83e5b9ca8d63a7f /doc
parentc3ae7129009a0b7bf7a285ffca4bb58a16b11b54 (diff)
downloadtcl-5650f82fd8c736c7cab9d1fb4a4bb100b64626de.zip
tcl-5650f82fd8c736c7cab9d1fb4a4bb100b64626de.tar.gz
tcl-5650f82fd8c736c7cab9d1fb4a4bb100b64626de.tar.bz2
* doc/expr.n: Improved documentation for ceil and floor [Bug 350535]
Diffstat (limited to 'doc')
-rw-r--r--doc/expr.n8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/expr.n b/doc/expr.n
index 41db0fe..d230580 100644
--- a/doc/expr.n
+++ b/doc/expr.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: expr.n,v 1.7 2002/02/15 14:28:47 dkf Exp $
+'\" RCS: @(#) $Id: expr.n,v 1.8 2002/03/21 13:27:59 dkf Exp $
'\"
.so man.macros
.TH expr n 8.4 Tcl "Tcl Built-In Commands"
@@ -229,7 +229,8 @@ radians. \fIx\fR and \fIy\fR cannot both be 0. If \fIx\fR is greater
than \fI0\fR, this is equivalent to \fBatan(\fIy/x\fB)\fR.
.TP
\fBceil(\fIarg\fB)\fR
-Returns the smallest integer value not less than \fIarg\fR.
+Returns the smallest integral floating point value (i.e. with a zero
+fractional part) not less than \fIarg\fR.
.TP
\fBcos(\fIarg\fB)\fR
Returns the cosine of \fIarg\fR, measured in radians.
@@ -247,7 +248,8 @@ Returns the exponential of \fIarg\fR, defined as \fIe\fR**\fIarg\fR.
If the result would cause an overflow, an error is returned.
.TP
\fBfloor(\fIarg\fB)\fR
-Returns the largest integral value not greater than \fIarg\fR.
+Returns the largest integral floating point value (i.e. with a zero
+fractional part) not greater than \fIarg\fR.
.TP
\fBfmod(\fIx, y\fB)\fR
Returns the floating-point remainder of the division of \fIx\fR by