Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d42cbfc74333772a5327853f80b41b7a777722ae
Ticket: 3600057fffffffffffffffffffffffffffffffff
[string is double "0x5"] bug?
User & Date: dgp on 2013-09-09 12:58:17
Changes

  1. icomment:
    [string is double 0x5] == 1 is intended correct behavior.
    
    Tcl_GetDoubleFromObj() should also succeed on "0x5" input.
    
    In a brief round of testing that's what I see happening.
    
    I have not been able to reproduce the ticket's claim
    about 
    
    lsearch -exact -real {0x5 2} 2
    
    raising an error.
    
    I'll probe a bit more, but this is looking like
    an Invalid ticket.  If the OP is reading and can
    add info about the Tcl release or other platform
    or environment details where we might reproduce the
    [lsearch] error, that could help.
    
  2. login: "dgp"
  3. mimetype: "text/plain"