Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 96157a893163eedbb65ff4cd033f9b44ad37cf2c
Ticket: 1203787fffffffffffffffffffffffffffffffff
NaN's escape detection in expressions
User & Date: dgp on 2005-08-27 03:28:08
Changes

  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"