Skip to content
Tcl Source Code History Of Ticket 718878ffffffffff
Login

History Of Ticket 718878ffffffffff

Artifacts Associated With Ticket 718878ffffffffff

  1. Ticket change [8d7042a3d0] (rid 127933) by rmax on 2003-04-10 09:13:27:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Given the following two commands:
      
       string is integer 12345678901
       string is integer [expr 12345678901]
      
      On i386 they both return 0, but on x86_64
      the second one returns 1. 
      
      I think they should return 1 on all platforms
      that support wide integers.
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "rmax"
    9. subsystem initialized to: "18. Commands M-Z"
    10. title initialized to: "[string is integer] inconsistency"
    11. type initialized to: "Bug"
  2. Ticket change [dfaf24d80d] (rid 115052) by dgp on 2003-04-10 22:34:49:

    1. foundin changed to: "final: 8.3.5"
    2. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Note that this bug is present in 8.3.5;
      it has nothing to do with wide integers.
      
      For value with only a string rep,
      [string is integer] asks "Can this
      string be read as a C "int" ?"
      
      For values that already have an integer
      internal type, it asks "Does this value
      fit in a C "long" ?"
      
      For any platform where sizeof(long) != sizeof(int),
      the answers will not be consistent.
      
      Making them consistent is easy, but that
      requires knowing which answer is the right
      one.  The docs do not specify in enough detail.
      
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. username: "dgp"
  3. Ticket change [a4fc35a68b] (rid 110296) by rmax on 2003-04-10 22:40:53:

    1. icomment:
      Logged In: YES 
      user_id=124643
      
      Does that mean it would need a TIP to get defined semantics
      for [string is integer], and then fix the implementation?
      
      
    2. login: "rmax"
    3. mimetype: "text/plain"
    4. username: "rmax"
  4. Ticket change [3605345c9d] (rid 107044) by dgp on 2003-04-12 04:07:53:

    1. closedate changed to: "2003-04-11T21:07:53"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      
      committed fix to make [string is integer] 
      consistently recognize 32-bit integers
      (C int's) for both string and internal
      representations, and across platforms.
      Updated docs and tests.
      
      If we want something to recognize either
      64-bit integers consistently, or platform
      C longs in a platform-specific manner, we
      need a TIP to either change [string is integer],
      or provide another command ([string is wide] ?).
      
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dgp"