From cca7d8257cbbbb4867c3aec8d3ae8e5ae318e1d3 Mon Sep 17 00:00:00 2001 From: "donal.k.fellows@manchester.ac.uk" Date: Thu, 21 Mar 2002 13:27:59 +0000 Subject: * doc/expr.n: Improved documentation for ceil and floor [Bug 350535] --- ChangeLog | 4 ++++ doc/expr.n | 8 +++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index a723152..6ff0cb2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-03-21 Donal K. Fellows + + * doc/expr.n: Improved documentation for ceil and floor [Bug 350535] + 2002-03-20 Don Porter * doc/SetVar.3: 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 -- cgit v0.12