Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2f1f6da7a151d86a68e3b8e540635d2d850ded5d20c5c5b8d97be4a13ccc17e9
Ticket: 1178806fffffffffffffffffffffffffffffffff
purge strtod() support
User & Date: dgp on 2019-06-03 15:57:32
Changes

  1. assignee changed to: "dgp"
  2. closedate changed to: "2458638.16495398"
  3. closer changed to: "dgp"
  4. 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.
    
  5. icomment:
    
    Overtaken by events.
    
    https://core.tcl-lang.org/tcl/info/8bdef976bf124dce
    
  6. login: "dgp"
  7. mimetype: "text/plain"
  8. resolution changed to: "Out of Date"
  9. severity changed to: "Minor"
  10. status changed to: "Closed"