Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 360720870f052d9e9c8a4de6b7cf7872da505305
Ticket: 219223ffffffffffffffffffffffffffffffffff
64 bit format command behaves differently to the 32bit forma
User & Date: dgp on 2001-09-20 23:36:54
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    OK, commits to both HEAD and core-8-3-1-branch on
    2001-09-19 have fixed this, sort of.  The reported
    error is corrected:
    
    % format %X 4294967290 
    FFFFFFFA 
    
    works on both 32-bit and 64-bit platforms.
    
    However, the change also has this effect:
    
    % format %d 4294967290
    -6
    
    on *both* 32-bit and 64-bit platforms.  If this
    behavior is to be kept, then we need to document
    in the format(n) page that %d formatting as a
    signed decimal string places its sign boundary
    at the range of a signed 32-bit integer.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"