Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6022274e065bb7ed565ffb7a6ba71d2f0ad8d808
Ticket: 761471ffffffffffffffffffffffffffffffffff
INST_EQ issues with NaN
User & Date: dkf on 2004-11-01 21:42:44
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    
    Your optimization won't work.  You simply can't rely on NaN
    being of tclDoubleType and the cost of determining the cases
    where the comparison is actually safe is rather too high. :^(
    
    At least in the equal object case, any through-string
    conversions will be mostly cached... :^/
    
    Fixed in HEAD; backport candidate or shall we not bother
    given how few people noticed this was broken for so many years?
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. resolution changed to: "Fixed"
  5. username: "dkf"