Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b97a2f6c6b0dca91123fb86530d72ab45b3a9383
Ticket: 1006626fffffffffffffffffffffffffffffffff
bizarre interaction between wide int and double
User & Date: kennykb on 2004-08-10 14:59:09
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    If a string that looks as if it might be a
    wide integer overflows on input conversion,
    the Tcl library stumbles when attempting
    to convert it to a double:
    
    % expr 0x7fffffffffffffff
    9223372036854775807
    % set x -9223372036854775809
    -9223372036854775809
    % expr double($x)
    9.22337203685e+018
    % scan $x %g
    -9.22337203685e+018
    
    This bug is related to 868489, but does
    not appear to have as simple a fix.  
    (By the way, how's 868489
    coming? Reviewed the patch yet?)
    
  4. foundin changed to: "obsolete: 8.5a2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "kennykb"
  9. subsystem changed to: "45. Parsing and Eval"
  10. title changed to: "bizarre interaction between wide int and double"
  11. type changed to: "Support"