Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 13049c5afb9ecdb6436f45bb0a69a1fc51aa4e788407718d83928a3d8095c764
Ticket: ef5373e6fa0617ee02f201c6c8f41746678c5afb
expr, literal numeric values, and string comparisons
User & Date: pooryorick on 2024-10-11 18:36:41
Changes

  1. closedate changed to: "2460595.27548389"
  2. closer changed to: "pooryorick"
  3. icomment:
    The real answer here is that if [expr] *would* interpret 0x12 as a number if the operation made sense with a numeric operand, but because the other operand is a string, not a number, the only sensible thing that remains is to treat 0x12 as a string.  In fact in both of the given examples, string comparison, not numeric comparison is performed: 18 is also interpreted as a string, not a number.
    
  4. login: "pooryorick"
  5. mimetype: "text/x-fossil-wiki"
  6. private_contact changed to: "5d4b6538b2536427c4ee4dd0ec7495de74567d31"
  7. resolution changed to: "Invalid"