Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 450bd205fea9d04b79e086b9c49314b0f210cfed
Ticket: 960210ffffffffffffffffffffffffffffffffff
expr {"Nan"}
User & Date: dkf on 2004-05-30 19:34:33
Changes

  1. closedate changed to: "2004-05-30T12:34:33"
  2. closer changed to: "dkf"
  3. icomment:
    Logged In: YES 
    user_id=79902
    
    The expr.n manual page states that:
    "If an operand does not have one of the integer formats
    given above, then it is treated as a floating-point number
    if that is possible."
    
    Thus, [expr] is correct to regard "Nan" as a float, and is
    at least not vastly wrong in regarding that as a domain
    error (because that's what generates NaN values normally.) 
    8.4 should be a bit better at handling this.
    
    
  4. login: "dkf"
  5. mimetype: "text/plain"
  6. resolution changed to: "Out of Date"
  7. status changed to: "Closed"
  8. username: "dkf"