Skip to content
Tcl Source Code History Of Ticket 1203787
Login

History Of Ticket 1203787

Artifacts Associated With Ticket 1203787

  1. Ticket change [77762caae6] (rid 89780) by dgp on 2005-05-17 18:13:50:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      % binary scan [binary format d NaN] d d
      1
      % expr {$d}
      domain error: argument not in valid range
      
      Good.  But...
      
      % expr {$d && $d}
      1
      
      Problem is that TEBC directly pokes
      into the objPtr->typePtr of values and
      accepts anything of tclDoubleType as
      a valid double.  A call to Tcl_GetDoubleFromObj
      would include the NaN check.
      
      
      
    4. foundin initialized to: "obsolete: 8.4.9"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dgp"
    9. subsystem initialized to: "47. Bytecode Compiler"
    10. title initialized to: "NaN's escape detection in expressions"
    11. type initialized to: "Bug"
  2. Ticket change [796ef1c7b7] (rid 90127) by dgp on 2005-08-27 03:15:24:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      The #undef ACCEPT_NAN 
      configuration on numerics branch
      has one fix:
      
      % binary scan [binary format d NaN] d d
      1
      % expr {$d}
      domain error: argument not in valid range
      % expr {$d && $d}
      floating point value is Not a Number
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [96157a8931] (rid 106258) by dgp on 2005-08-27 03:28:08:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Just FYI, the #define ACCEPT_NAN
      configuration isn't much different:
      
      % binary scan [binary format d NaN] d d
      1
      % expr {$d}
      NaN
      %  expr {$d && $d}
      floating point value is Not a Number
      
      To do the shortcut evaluation
      of && we have to get an actual
      boolean value, so NaN can't
      be accepted as logical operands.
      
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [751b96bd48] (rid 105335) by dgp on 2005-10-14 00:45:56:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      this was fixed on the HEAD
      by the TIP 237 merge.
      
      still buggy in 8.4.11
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [0389d44d64] (rid 119847) by msofer on 2006-09-30 08:12:25:

    1. closedate changed to: "2006-09-30T01:12:25"
    2. closer changed to: "msofer"
    3. icomment:
      Logged In: YES 
      user_id=148712
      
      worth fixing in 8.4?
      
      
    4. login: "msofer"
    5. mimetype: "text/plain"
    6. status changed to: "Pending"
    7. username: "msofer"
  6. Ticket change [87a9758152] (rid 131737) by sf-robot on 2006-10-14 09:20:08:

    1. closedate changed to: "2006-10-14T02:20:08"
    2. closer changed to: "sf-robot"
    3. icomment:
      Logged In: YES 
      user_id=1312539
      
      This Tracker item was closed automatically by the system. It was
      previously set to a Pending status, and the original submitter
      did not respond within 14 days (the time period specified by
      the administrator of this Tracker).
      
      
    4. login: "sf-robot"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "sf-robot"