Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f1255c5e6db1aca35de04f75cb421d84a84248209da8788b44f70a0ebc258fbc
Ticket: 1de6b0629e6b52afee3c3a763b02d9de6a39d780
number parser fails handling int overflow in exponents
User & Date: kbk on 2020-01-02 16:44:21
Changes

  1. closer changed to: "nobody"
  2. icomment:
    @fvogel:
    
    (1) Is this a MSVC6 compilation? Recent MSVC's (at least since VS2013) are documented to have copysign.
    
    (2) Does it work to include the following code burst near the top of tclStrToD.c (somewhere after the #includes)?
    
    <pre>
    #if defined(_MSC_VER_)
    inline static double
    copysign(double a, double b) {
        return _copysign(a, b);
    }
    #endif
    </pre>
    
    If it works, could you commit that change and re-close the bug?
    
  3. login: "kbk"
  4. mimetype: "text/x-fossil-wiki"
  5. status changed to: "Open"