diff options
author | Kevin B Kenny <kennykb@acm.org> | 2005-12-12 16:06:50 (GMT) |
---|---|---|
committer | Kevin B Kenny <kennykb@acm.org> | 2005-12-12 16:06:50 (GMT) |
commit | f9be2b88acd38259f5aa73a37d9b70ff617cca92 (patch) | |
tree | 1c8f66e68b65548658b361601f9ff9398fdf140e | |
parent | 7a60e0f3a116c26ff850ce104cb3249f04049920 (diff) | |
download | tcl-f9be2b88acd38259f5aa73a37d9b70ff617cca92.zip tcl-f9be2b88acd38259f5aa73a37d9b70ff617cca92.tar.gz tcl-f9be2b88acd38259f5aa73a37d9b70ff617cca92.tar.bz2 |
Bug 1378818
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | doc/mathfunc.n | 6 |
2 files changed, 9 insertions, 3 deletions
@@ -1,3 +1,9 @@ +2005-12-12 Kevin B. Kenny <kennykb@acm.org> + + * doc/mathfunc.n: Changed two examples from the incorrect + 'tcl::math::' to 'tcl::mathfunc::' [Bug 1378818] + + 2005-12-09 Mo DeJong <mdejong@users.sourceforge.net> * win/configure: Regen. diff --git a/doc/mathfunc.n b/doc/mathfunc.n index 9328d93..b66f1a0 100644 --- a/doc/mathfunc.n +++ b/doc/mathfunc.n @@ -6,7 +6,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: mathfunc.n,v 1.7 2005/09/29 23:16:29 hobbs Exp $ +'\" RCS: @(#) $Id: mathfunc.n,v 1.8 2005/12/12 16:06:50 kennykb Exp $ '\" .so man.macros .TH mathfunc n 8.5 Tcl "Tcl Mathematical Functions" @@ -80,8 +80,8 @@ package require \fBTcl 8.5\fR .PP The \fBexpr\fR command handles mathematical functions of the form \fBsin($x)\fR or \fBatan2($y,$x)\fR by converting them to calls of the -form \fB[tcl::math::sin [expr {$x}]]\fR or -\fB[tcl::math::atan2 [expr {$y}] [expr {$x}]]\fR. +form \fB[tcl::mathfunc::sin [expr {$x}]]\fR or +\fB[tcl::mathfunc::atan2 [expr {$y}] [expr {$x}]]\fR. A number of math functions are available by default within the namespace \fB::tcl::mathfunc\fR; these functions are also available for code apart from \fBexpr\fR, by invoking the given commands |