Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 087e0bf7ca3c0656e300a5832c117872afc58cbe
Ticket: 1353531fffffffffffffffffffffffffffffffff
Error results from assignment of hex value to scale variable
User & Date: kennykb on 2006-09-02 00:26:49
Changes

  1. closedate changed to: "2006-09-01T17:26:49"
  2. closer changed to: "kennykb"
  3. icomment:
    Logged In: YES 
    user_id=99768
    
    What we're dealing with here is C89-C9x differences
    in 'strtod' - prior to C9x, there was no standard
    hexadecimal notation for floating point, and Microsoft's
    'strtod' does not accept hex.
    
    Tcl's Tcl_GetDoubleFromObj in 8.5 doesn't depend on
    the C library 'strtod' - we have our own scanner that
    also avoids a number of other issues in 'strtod' (for
    instance, the fact that Microsoft's does not do
    gradual underflow and is often off by several units
    in the least significant place).  The changes for this
    are tied up in the changes for arbitrary-precision
    integers, and are not going to backport gracefully,
    so I'm going to close this as "Won't Fix" in 8.4 and
    fixed in 8.5.
    
    
  4. login: "kennykb"
  5. mimetype: "text/plain"
  6. resolution changed to: "Wont Fix"
  7. status changed to: "Pending"
  8. username: "kennykb"