Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: df84203e202924ec0a7b5b6dec249071e73a3b517b312d5187f77414c05cc717
Ticket: 2dff98e0791720bdde656d47762553c1089684a4
format %A garbles negative, padded and infinite values
User & Date: serhiy.storchaka on 2026-10-16 22:13:57
Changes

  1. cmimetype changed to: "text/x-fossil-wiki"
  2. comment changed to:
    <nowiki>[format %A]</nowiki> overwrites the second character of the result with "x", assuming that it starts with "0X":
    
    <verbatim>
    format %A -1.5    ;# -xX1.8p+0
    format %+A 1.0    ;# +xX1p+0
    format %10A 1.5   ;#  x0X1.8p+0
    format %A Inf     ;# IxF
    </verbatim>
    
    Only plain positive values come out right (0x1.8p+0). The code came with %a/%A in [5cfe15b5d6].
    
  3. foundin changed to: "9.0.5, 9.1.0"
  4. login: "serhiy.storchaka"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. severity changed to: "Minor"
  8. status changed to: "Open"
  9. submitter changed to: "serhiy.storchaka"
  10. subsystem changed to: "16. Commands A-H"
  11. title changed to:
    format %A garbles negative, padded and infinite values
    
  12. type changed to: "Bug"