|
2007-10-30
| ||
| 21:22 | • Closed ticket [1811803fff]: mathfunc(n) and expr(n) man pages plus 3 other c... artifact: 26f6e49268 user: dkf | |
|
2007-10-11
| ||
| 19:50 | • New ticket [1811803fff]. artifact: ed78b9ce3f user: glennjnn | |
mathfunc(n) and expr(n) man pages
Closed / Fixed1811803fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-10-11 19:50:48
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.
dkf Closed ticket [1811803fff].
[History diff]2007-10-30 21:22:06
Log in (anonymous is fine) to add a comment.