Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 166b6dbf97c9dbfbc2b52577fe1c750a03ba2257
Ticket: 1228275fffffffffffffffffffffffffffffffff
[expr] cannot cope with wideInt results on 32bit UNIX
User & Date: dkf on 2005-06-27 21:03:47
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    
    The problem is that it is the << operation that is doing the
    wrong thing with the signs, and not the operations around
    it. On a 32-bit system:
    
    % expr (wide(1)<<31)+1
    2147483649
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"