Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 784014d8c397ed5c333765f9f65eb7cdfba30a89
Ticket: 1178806fffffffffffffffffffffffffffffffff
purge strtod() support
User & Date: dgp on 2005-04-07 19:45:42
Changes

  1. assignee changed to: "kennykb"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    the kennykb-numerics-branch
    has replaces all calls to strtod()
    with calls to TclStrToD().
    
    With that done, many configuration
    operations, and some work in
    the callers can be purged now that
    we are calling a known routine
    with known properties.  We can
    purge a fair bit of safety code that
    is in place for protection against
    variations in strtod().
    
    Attached patch does that.
    
    For future consideration, note
    that both Tcl_ScanObjCmd()
    and GetLexeme() (in 
    tclParseExpr.c) are forced to
    do some string copying to
    provide TclStrToD() with
    a NULL-terminated string to
    parse.  An alternative interface
    that allowed for passing a
    counted string instead could
    save us some copying.
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "None"
  10. title changed to: "purge strtod() support"
  11. type changed to: "Patch"