Skip to content
Tcl Source Code History Of Ticket 1851567
Login

History Of Ticket 1851567

Artifacts Associated With Ticket 1851567

  1. Ticket change [7ef6ddda89] (rid 97497) by teopetuk on 2007-12-15 22:54:10:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Hi!
      
      expr in current HEAD returns the following on Motorola M68K architecture:
      
      % expr 0.1
      0.000
      % expr 1e-10
      0e-12
      
      The bug is triggered only when the final result is shown, and only when the resulting number is less than one in absolute value. Then expr replaces mantissa by zero.
      
      % expr (1.0/10)
      0.000
      % expr (1.0/10)*10
      1.0
      
      Also, expr.test fails with the following:
      expr.test
      Test file error: unable to alloc 3988184000 bytes
      
      (I don't know if it's the same bug or another one).
      
      8.4.16 works fine and passes all the tests.
      
    4. foundin initialized to: "None"
    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: "teopetuk"
    10. subsystem initialized to: "None"
    11. title initialized to:
      expr returns incorrect results on M68K architecture
      
    12. type initialized to: "Bug"
  2. Ticket change [a78cdfa060] (rid 98822) by dgp on 2007-12-18 11:09:55:

    1. assignee changed to: "msofer"
    2. foundin changed to: "obsolete: 8.5b3"
    3. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      
      Is this another symptom of 1851832?
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. priority changed to: "8"
    7. subsystem changed to: "47. Bytecode Compiler"
    8. username: "dgp"
  3. Ticket change [7afc24d3e7] (rid 90434) by nobody on 2007-12-18 15:00:38:

    1. icomment:
      Logged In: NO 
      
      Even if it's a symptom of 1851832 the current HEAD (with a patch from 1851832) doesn't cure it.
      
      
    2. login: "[email protected]"
    3. mimetype: "text/plain"
    4. username: "[email protected]"
  4. Ticket change [b6a54cd15d] (rid 125456) by msofer on 2007-12-18 18:25:38:

    1. icomment:
      Logged In: YES 
      user_id=148712
      Originator: NO
      
      I think Tcl_Objs are properly aligned, my guess is that the problem is in TclDoubleDigits(). I will not be able to look at this in the next few days.
      
      Please report more platform details - is this linux? What libc?
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  5. Ticket change [01e4d86e35] (rid 119563) by teopetuk on 2007-12-18 18:38:14:

    1. icomment:
      Logged In: YES 
      user_id=410366
      Originator: YES
      
      Yes, it's Debian Linux, glibc version is 2.5.
      
      
    2. login: "teopetuk"
    3. mimetype: "text/plain"
    4. username: "teopetuk"
  6. Ticket change [4def3972e4] (rid 127143) by dgp on 2007-12-18 23:29:39:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      
      Wonder if this is an issue
      analogous to what we faced
      with the Nokia 770?  Yet
      another wacky endian variation?
      
      http://wiki.tcl.tk/15408
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [0a563595b2] (rid 113800) by teopetuk on 2007-12-20 20:59:56:

    1. icomment:
      Logged In: YES 
      user_id=410366
      Originator: YES
      
      It's a bug in frexp() function. The following program:
      
      #include <math.h>
      #include <stdio.h>
      
      main() {
              double v;
              int e;
              v = frexp(1.1, &e);
              printf("%g, %d\n", v, e);
              v = frexp(0.1, &e);
              printf("%g, %d\n", v, e);
      }
      
      prints out
      0.55, 1
      0.05, -2147483647
      
      which is obviously wrong. The result should be
      0.55, 1
      0.8, -3
      
      So, there's no bug in Tcl itself.
      
      
    2. login: "teopetuk"
    3. mimetype: "text/plain"
    4. username: "teopetuk"
  8. Ticket change [a67b67ea47] (rid 98608) by msofer on 2007-12-20 21:39:17:

    1. closedate changed to: "2007-12-20T14:39:17"
    2. closer changed to: "msofer"
    3. resolution changed to: "Invalid"
    4. status changed to: "Closed"