Skip to content
Tcl Source Code History Of Ticket cb7aac6f2c145538
Login

History Of Ticket cb7aac6f2c145538

Artifacts Associated With Ticket cb7aac6f2c145538

  1. Ticket change [f91d3ba7f8] (rid 142947) by oehhar on 2015-08-31 09:09:27:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. comment initialized to:
      I compiled the current trunk with VC6 and VC14 on Win 8.1 64 and got new test failures.
      
      The test condition "eformat" is true on the VC14 compiled version and not on the VC6 compiled version.
      
      This shows up new test errors, which fail on VC6 to, but don't show up as the tests are not executed (verified manualy in the console).
      
      Specially the result "0." for %#.0f" puzzels me why I have chosen it as subject for the ticket.
      
      The test errors are:
      <verbatim>
      ==== format-6.3 floating-point zeroes FAILED
      ==== Contents of test case:
      
          format "%#.4e %#.4f %#.4g" 0.0 0.0 0.0 0.0
      
      ---- Result was:
      0.0000e+00 0.0000 0.0000
      ---- Result should have been (exact matching):
      0.0000e+00 0.0000 0.000
      ==== format-6.3 FAILED
      
      ---- format-6.4 start
      ---- format-6.5 start
      
      
      ==== format-6.5 floating-point zeroes FAILED
      ==== Contents of test case:
      
          format "%#.0e %#.0f %#.0g" 0.0 0.0 0.0 0.0
      
      ---- Result was:
      0.e+00 0. 0.0
      ---- Result should have been (exact matching):
      0.e+00 0. 0.
      ==== format-6.5 FAILED
      </verbatim>
      
      -Harald
      
    5. foundin initialized to: "trunk"
    6. is_private initialized to: "0"
    7. login: "oehhar"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "oehhar"
    14. subsystem initialized to: "- New Builtin Commands"
    15. title initialized to:
      Alternate float format %#.0f returns "0." for "0.0"
      
    16. type initialized to: "Bug"
  2. Ticket change [db5beb3782] (rid 142958) by dkf on 2015-08-31 11:07:12:

    1. assignee changed to: "dgp"
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. subsystem changed to: "16. Commands A-H"
  3. Ticket change [6c5023f554] (rid 143045) by oehhar on 2015-09-08 13:12:15:

    1. icomment:
      I have verified the two test cases on the VC6 compiled tcl manually.
      The issue is still there.
      They just don't show up as the tests are not executed.
      
    2. login: "oehhar"
    3. mimetype: "text/x-fossil-wiki"
    4. username: "oehhar"
  4. Ticket change [9bfd2450f8] (rid 143046) by oehhar on 2015-09-08 13:18:39:

    1. icomment:
      I have also tried it manualy on CentOS 6 with 8.5.7 and 8.6.4.
      
      The bug is present on all platforms.
      E.g. 
      <verbatim>
      % format "%#.0f" 0.0
      0.
      </verbatim>
      
      Eventually this is ok, I don't know.
      
    2. login: "oehhar"
    3. mimetype: "text/x-fossil-wiki"
    4. username: "oehhar"
  5. Ticket change [b8a18cbe1c] (rid 143053) by dkf on 2015-09-13 08:01:42:

    1. icomment:
      This might be something where we just use libc to do the work, with the bug being there. (I vaguely remember that parts of the <code>format</code> code, particularly for complex formats, are like that.)
      
    2. login: "dkf"
    3. mimetype: "text/html"
    4. username: "dkf"
  6. Ticket change [2f60de25c7] (rid 188607) by oehhar on 2020-11-16 14:23:27:

    1. icomment:
      Tested manually with tcl8.6.10, Win32bit ms-vc6:
      
      <verbatim>
      % format "%#.0f" 0.0
      0.
      </verbatim>
      
    2. login: "oehhar"
    3. mimetype: "text/x-fossil-wiki"
    4. username: "oehhar"