Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7fe12eed2f77153f3fa9b579a61fbb278288336c
Ticket: 960210ffffffffffffffffffffffffffffffffff
expr {"Nan"}
User & Date: ferrieux on 2004-05-25 22:34:34
Changes

  1. icomment:
    Logged In: YES 
    user_id=496139
    
    This was me (sorry I hadn't logged in).
    Maybe one useful detail:
    
    The same problem arises if the Nan results from an evaluation:
    
    proc foobar {} {return Nan}
    expr {[foobar]}
    
    So we can reinterpret this as: "expr systematically tries to
    convert its final result to a number". This is at odds with
    Tcl's lazy conversion spirit, and definitely a bug !
    
    -Alex
    
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"