Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 900b3c865af074d457a14fc88bf54e01a4d9b6a1
Ticket: 761471ffffffffffffffffffffffffffffffffff
INST_EQ issues with NaN
User & Date: dgp on 2003-06-26 21:45:01
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    This is inconsistent:
    
    % set x NaN; expr {$x == NaN} 
    1
    % expr {$x == NaN} 
    0
    
    They are different because the
    first case follows an optimization
    in INST_EQ that a Tcl_Obj will
    be == to itself.
    
    The second case actually flows
    through to a C-level comparison
    of two NaN doubles, and at least
    on this platform, the result is false.
    
    
  4. foundin changed to: "obsolete: 8.4.3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "47. Bytecode Compiler"
  10. title changed to: "INST_EQ issues with NaN"
  11. type changed to: "Bug"