Overview
| Artifact ID: | a52a7991baeed7ff33e7616595a21a6d0d6b9802 |
|---|---|
| Ticket: | 1230205fffffffffffffffffffffffffffffffff
expr: div and mod support for LONG_MIN and LONG_MAX |
| User & Date: | mdejong on 2005-06-30 08:15:45 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
Tcl's expr divide and modulus operations are buggy WRT LONG_MIN and LONG_MAX values. The attached patch fixes the problems, adds test cases, and reimplements the divide operation so that it will execute more quickly. This patch has been tested on a 32 bit long system. It should also work on a system with a 64 bit long, but that has not been tested. This is a pure bug fix so it should not require a TIP.
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "mdejong"
- subsystem changed to: "47. Bytecode Compiler"
- title changed to:
expr: div and mod support for LONG_MIN and LONG_MAX
- type changed to: "Patch"