Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#3815 mathfunc(n) and expr(n) man pages

obsolete: 8.5b1
closed-fixed
5
2007-10-30
2007-10-11
Glenn Jackman
No

1. use of parentheses in the mathfunc man page is confusing. It looks like I'm supposed to write:
namespace path ::tcl::mathfunc
set y [sin($x)]
which is an error.

I realize that page is referenced from the expr man page, but could it be revisited for clarity?

2. in the expr man page, it says:

The processing of an expression such as:
expr {sin($x+$y)}
is the same in every way as the processing of:
expr {[tcl::mathfunc::sin [expr {$x+$y}]]}

Is the leading expr necessary in the last line? i.e.
tcl::mathfunc::sin [expr {$x+$y}]
should be sufficient

3. mathop is missing from the "see also" list for expr and mathfunc.

Discussion

    • status: open --> closed-fixed