Overview
| Artifact ID: | d461568450582366c96c5fda2721cd71436ae135 |
|---|---|
| Ticket: | 1273713fffffffffffffffffffffffffffffffff
Expr with acos |
| User & Date: | msofer on 2005-08-26 08:13:32 |
Changes
- icomment:
Logged In: YES user_id=148712 Can you provide a complete session log, including the values of your variables? Are you sure that they have the same values in both cases? The error message indicates that (Tcl thinks that) the argument to 'acos' is not between -1 and 1 % set a 2 2 % set b 1 1 % set c 0.5 0.5 % set f [expr acos(($a-$b)*$c)] 1.0471975512 % set c 2 2 % set f [expr acos(($a-$b)*$c)] domain error: argument not in valid range
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"