Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 77762caae649617372aac9e06320c164c5c83c8b
Ticket: 1203787fffffffffffffffffffffffffffffffff
NaN's escape detection in expressions
User & Date: dgp on 2005-05-17 18:13:50
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed 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 changed to: "obsolete: 8.4.9"
  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: "NaN's escape detection in expressions"
  11. type changed to: "Bug"