Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c3e94555a4211ef90f04b385650e9ba7fcb8b4e9
Ticket: 1241572fffffffffffffffffffffffffffffffff
[expr] blind spot at corner of 32/64 bit integers
User & Date: nobody on 2005-07-20 13:52:06
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    % set x -2147483647; expr {abs($x)}
    2147483647
    % set x -2147483648; expr {abs($x)}
    integer value too large to represent
    % set x -2147483649; expr {abs($x)}
    2147483649
    
    This is a practical problem as we use -2147483648 
    (0x80000000, MIN_INT) to express missing data.
    
    Seen in 8.4.1 and 8.5a2 Tclkit, Windows XP and Linux.
    
    [email protected]
    
  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: "nobody"
  9. subsystem changed to: "11. Conversions from String"
  10. title changed to: "[expr] blind spot at corner of 32/64 bit integers"
  11. type changed to: "Bug"