Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b05aa7a3a3eb173a27e02783baefc8c5bb5228b8
Ticket: 908375ffffffffffffffffffffffffffffffffff
round() doesn't support numbers larger than 31 bits
User & Date: hemanglavana on 2004-03-02 15:39:49
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    This was just reported by one of our users today. It
    seems that round() doesn't seem to handle numbers
    larger than 31 bits:
    
    godel:49> /tmp/hlavana/tcltk/bin/tclsh8.4 
    % info patch
    8.4.6
    % expr round( 2147483647.1 )
    2147483647
    % expr round( 2147483648.1 )
    integer value too large to represent
    % expr {2147483648+1}
    2147483649
    % exit
    godel:50> 
    
    If this is a bug, would it be possible to get it fixed
    for tcl8.4.6 or is it too late now?
    
  4. foundin changed to: "obsolete: 8.4.6"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "hemanglavana"
  9. subsystem changed to: "16. Commands A-H"
  10. title changed to:
    round() doesn't support numbers larger than 31 bits
    
  11. type changed to: "Bug"