Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a556f8d122a5b02004e481ad228f49cf482e0f99
Ticket: 960210ffffffffffffffffffffffffffffffffff
expr {"Nan"}
User & Date: nobody on 2004-05-25 15:21:00
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The expr command, when given the literal string "Nan"
    (quotes included), tries to convert Nan to a number and
     yields the error:
    
         domain error: argument not in valid range
    
    Clearly, what's inside quotes is not expr's business,
    it shouldn't open that box !
    
    Also notice that this strange behavior is insensitive
    to whitespace, but it to other characters:
    
       expr {"Nan xyz"}
    
    works correctly.
    
  4. foundin changed to: "final: 8.3.5"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "45. Parsing and Eval"
  10. title changed to: "expr {"Nan"}"
  11. type changed to: "Bug"