Skip to content
Tcl Source Code History Of Ticket 1820988fffffffff
Login

History Of Ticket 1820988fffffffff

Artifacts Associated With Ticket 1820988fffffffff

  1. Ticket change [bc277a2a36] (rid 129616) by nobody on 2007-10-26 22:33:54:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      PLATFORM
      Mac OS X 10.4.10 (Intel)
      
      VERSION
      Tcl 8.5b1 (via ActiveTcl 8.5.0.0 build 282058)
      
      PROBLEM
      "string is integer" doesn't recognize large integers as such.
      
      EXPECTED BEHAVIOR
      As I understand, Tcl 8.5 now supports arbitrary precision integers. "string is integer" should be able to correctly recognize large integers.
      
      EXAMPLE
      string is integer 1000
      => 1
      
      string is integer 10000000000000000000000000000
      => 0
      
      Thanks!
      
    4. foundin initialized to: "obsolete: 8.5b1"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "nobody"
    10. subsystem initialized to: "48. Number Handling"
    11. title initialized to: ""string is integer" incorrect for large integers"
    12. type initialized to: "Bug"
  2. Ticket change [37c8104303] (rid 112089) by msofer on 2007-10-27 05:43:37:

    1. closedate changed to: "2007-10-26T22:43:37"
    2. closer changed to: "msofer"
    3. icomment:
      Logged In: YES 
      user_id=148712
      Originator: NO
      
      % set x 1000000000000000000
      1000000000000000000
      % string is integer $x
      0
      % string is wideinteger $x
      1
      
      See the man page: [string is integer] checks for 32-bit integers:
      http://www.tcl.tk/man/tcl8.5/TclCmd/string.htm#M26
      
      
      
    4. login: "msofer"
    5. mimetype: "text/plain"
    6. resolution changed to: "Invalid"
    7. status changed to: "Closed"
    8. username: "msofer"