Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 247496ab7bb3287e2924fe6c78b17c5896d565cce839e3f7d38d4e6246088dda
Ticket: 1de6b0629e6b52afee3c3a763b02d9de6a39d780
number parser fails handling int overflow in exponents
User & Date: dgp on 2019-12-20 14:18:26
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    % expr 1e2147483647
    Inf
    % expr 1e2147483648
    0.0
    
    % expr 10e2147483647
    0.0
    
    Sure there are more cases to illustrate...
    
    Issue is the "exponent" argument of Make(Low|High)PrecisionDouble() has type int, but longs are being passed without care to deal with overflow.
    
  5. foundin changed to: "8.5+"
  6. is_private changed to: "0"
  7. login: "dgp"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Important"
  11. status changed to: "Open"
  12. submitter changed to: "dgp"
  13. subsystem changed to: "48. Number Handling"
  14. title changed to:
    number parser fails handling int overflow in exponents
    
  15. type changed to: "Bug"