Skip to content
Tcl Source Code History Of Ticket 3402540fffffffffffffffffffffffffffffffff
Login

History Of Ticket 3402540fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 3402540fffffffffffffffffffffffffffffffff

  1. Ticket change [94b9e875d9] (rid 106041) by dgp on 2011-09-01 15:40:39:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      % expr {nan()}
      missing operator at _@_
      in expression "...es.
      #
      # Copyright (c) _@_"
      
      Something's way off here, sending us
      where we shouldn't be going.
      
    4. foundin initialized to: "obsolete: 8.5.10"
    5. is_private initialized to: "0"
    6. priority initialized to: "9 Immediate"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "dgp"
    10. subsystem initialized to: "47. Bytecode Compiler"
    11. title initialized to: "expr parser and "nan()""
    12. type initialized to: "Bug"
  2. Ticket change [c60a471bfc] (rid 121696) by ferrieux on 2011-09-01 22:52:08:

    1. icomment:
      Also broken in 8.6 trunk and *not* fixed by the bug-3401704 patch.
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  3. Ticket change [c4bd86d269] (rid 111887) by ferrieux on 2011-09-01 22:58:37:

    1. icomment:
      It goes astray because in sNANPAREN the case of en empty argument is not checked, hence the closing paren is taken as an hex digit, and the final \0 continues into the state machine...
      Will fix by adding an "else" in sNANPAREN.
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  4. Ticket change [b59e860c65] (rid 125275) by dgp on 2011-09-01 23:03:51:

    1. icomment:
      related bugs:
      
      % string is double nan(1,2,3,4,5)
      1
      % string is double nan(
      1
      
      Patch on the way.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [9b2a4f8968] (rid 111078) by ferrieux on 2011-09-01 23:05:36:

    1. icomment:
      --- generic/tclStrToD.c
      +++ generic/tclStrToD.c
      @@ -1099,10 +1099,14 @@
                          d = c - '0';
                      } else if (c >= 'a' && c <= 'f') {
                          d = 10 + c - 'a';
                      } else if (c >= 'A' && c <= 'F') {
                          d = 10 + c - 'A';
      +               } else {
      +                   /* Nan(NotHex) or Nan() => we stop at Nan */
      +                   /* acceptPoint and acceptLen have been set in sNAN */
      +                   goto endgame;
                      }
                      significandWide = (significandWide << 4) + d;
                      state = sNANHEX;
                      break;
                  }
      
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  6. Ticket change [e32f6d6b0e] (rid 87749) by ferrieux on 2011-09-01 23:07:06:

    1. icomment:
      sorry, xed. This patch fixes it by parsing Nan() and Nan(nonhex) as "Nan"+"(...)".
      Is it okay ?
      
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  7. Ticket change [e864e249c2] (rid 104638) by dgp on 2011-09-01 23:07:19:

    1. icomment:
      
      Yes, that plus adding the missing increment
      on numSigDigs.  Will commit after adding tests
      as well.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Ticket change [3114b5027b] (rid 93365) by dgp on 2011-09-02 01:27:59:

    1. closedate changed to: "2011-09-01T18:27:59"
    2. closer changed to: "dgp"
    3. icomment:
      
      
      allow_comments - 1
      
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dgp"