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

History Of Ticket 219224ffffffffff

Artifacts Associated With Ticket 219224ffffffffff

  1. Ticket change [3ea66799c4] (rid 121308) by nobody on 2000-10-26 05:03:48:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 4088 RFE
      Version: 8.3b2
      SubmitDate: '2000-01-26'
      LastModified: '2000-03-30'
      Severity: SER
      Status: Assigned
      Submitter: techsupp
      ChangedBy: hobbs
      OS: Solaris
      OSVersion: Soalrsi 7 64 bit
      Machine: Ultra Enterprise 4500
      FixedDate: '2000-10-25'
      ClosedDate: '2000-10-25'
      
      
      Name:
      matthew Finch
      
      DesiredBehavior:
      Currently tclsh in its current form can only deal with numbers in the form of ints.
      
      It would be good and help the project Im working on if expr and format commands could deal
      with long longs' 
      
      Currently I am looking at a the mpexpr pkg,but this doesnt take advantage of the byte code
      compiler I believe
      
      
      
      I don't know about long long's, but it would be nice to have
      Tcl at least properly supports longs throughout expressions
      and in the interpreter. 
      -- 03/30/2000 hobbs
      
    4. foundin initialized to: "obsolete: 8.3b2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "10. Objects"
    10. title initialized to:
      Ability for tclsh  expr and format comands to handle long lo
      
    11. type initialized to: "RFE"
  2. Ticket change [69e0b11a92] (rid 128054) by dkf on 2000-11-21 20:41:18:

    1. icomment:
      What is the support for 64-bit integer types like across different compilers?  I must admit that I don't follow this stuff very closely...
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  3. Ticket change [e00e4ff3ab] (rid 115125) by hobbs on 2000-11-22 01:34:28:

    1. icomment:
      ANSI C (keyword *ANSI*) has 64 bit integer types as int64_t and uint64_t, but they aren't supported by all ANSI compilers - just those that want to provide 64bit int support.  Windows has __int64.  Where int64_t isn't yet supported, you might try simulating it with long long.  An example that works on Windows, Linux (32-bit PIII) and Solaris (64-bit UltraSparc) is:
      <PRE>
      #ifdef _WIN32
      #define int64_t  __int64
      #define uint64_t unsigned __int64
      #else
      #include <sys/types.h>
      #endif
      
      #ifndef int64_t
      #define int64_t long long
      #define uint64_t unsigned long long
      #endif
      
      main()
      {
          uint64_t i = 0;
          printf("sizeof int64 = %d\n", sizeof(int64_t));
      }
      </PRE>
      
      You can improve on that by actually checking along the way until you get an 8-byte wide integer type instead of making the assumptions.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. title changed to:
      expr and format comands should handle long long (int64)
      
    5. username: "hobbs"
  4. Ticket change [da21643475] (rid 107723) by dkf on 2000-11-22 17:00:26:

    1. icomment:
      Wouldn't this be something for configure to discover for us?
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  5. Ticket change [983f15ba27] (rid 110575) by andreas_kupries on 2000-11-23 15:25:51:

    1. icomment:
      Only as long as there is no cross-compiling going on. And using linux to cross-compile for windows is quite tempting (I have already started doing this (began last Friday)).
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  6. Ticket change [38c29d6912] (rid 112263) by dkf on 2001-06-06 22:22:43:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      Hmm. Surely even when cross-compiling you can test to see if
      a thing will build? (That's the way configure works I
      believe...) Then, if a compiler handles int64_t as a
      meaningful type, or else __int64 or long long (in whatever
      order you care to choose.)  The only problem comes when you
      have a compiler which doesn't know any of those but defines
      long to be 64-bit (I don't know if any such exist, of
      course.)
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  7. Ticket change [06aa53d793] (rid 89251) by hobbs on 2001-08-02 08:45:05:

    1. foundin changed to: "None"
    2. subsystem changed to: "None"
  8. Ticket change [0ccb9e7fe0] (rid 114241) by andreas_kupries on 2001-08-25 01:24:29:

    1. subsystem changed to: "- New Builtin Object Types"
  9. Ticket change [0c87911f0a] (rid 114194) by hobbs on 2002-01-17 01:42:36:

    1. assignee changed to: "dkf"
    2. icomment:
      Logged In: YES 
      user_id=72656
      
      I believe this may fit in with dkf's 64-bit branch.
      
      
    3. login: "hobbs"
    4. mimetype: "text/plain"
    5. username: "hobbs"
  10. Ticket change [2d6c97b51c] (rid 119067) by dkf on 2002-02-16 04:18:10:

    1. closedate changed to: "2002-02-15T21:18:10"
    2. closer changed to: "dkf"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"