Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

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

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. 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.
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "mdejong"
  9. subsystem changed to: "47. Bytecode Compiler"
  10. title changed to:
    expr: div and mod support for LONG_MIN and LONG_MAX
    
  11. type changed to: "Patch"