Overview
| Artifact ID: | 35129172608d10e7d26baf3426b2657f8cbf0326 |
|---|---|
| Ticket: | 2941443fffffffffffffffffffffffffffffffff
expr 9999999**9999999 kills my progs |
| User & Date: | ferrieux on 2010-01-28 16:00:06 |
Changes
- closedate changed to: "2010-01-28T09:00:06"
- closer changed to: "ferrieux"
- icomment:
As stated in expr.n, integer operations are done in arbitrary precision (no overflow). This is the case of ** when both operands are integer. So Tcl is not hanging, it is just computing a very large number. You can verify that by monitoring the process's CPU (100%) and memory consumption (increasing regularly). Of course at some point it may exhaust your system's resources, but we can hardly blame Tcl for the hardware not being a true Turing bandwidth with infinite tape ;-) Hence closing as Invalid.
- login: "ferrieux"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "ferrieux"