Overview
| Artifact ID: | 60f2bbb1880652e32a6c68a76f4116d7f816f8b5 |
|---|---|
| Ticket: | 1564517fffffffffffffffffffffffffffffffff
[expr]: handling of negative literals |
| User & Date: | msofer on 2006-09-24 13:16:19 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
Negative numeric constants are stored as a positive literal, and UMINUS is executed on it at runtime: Command 1: "expr {$v > -99}" (0) loadScalar1 %v0 # var "v" (2) push1 0 # "99" (4) uminus (5) gt This can be very costly if happens in a loop (see http://groups.google.com/group/comp.lang.tcl/browse_frm/thread/b2a6592f802dfddc/82517b5f8bf2b145 - foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "msofer"
- subsystem changed to: "45. Parsing and Eval"
- title changed to: "[expr]: handling of negative literals"
- type changed to: "Bug"