Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-987

[MinGW] printf() incorrectly prints long double values

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: External
    • Labels:
      None
    • Environment:

      gcc/MinGW

    • Severity:
      Incorrect Behavior

      Description

      The gcc/MinGW uses the Microsoft C run-time libraries and their implementation of printf() assumes that sizeof (long double) == sizeof (double), but on gcc/MinGW sizeof (long double) > sizeof (double),

      http://www.mingw.org/MinGWiki/index.php/long%20double

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              farid Farid Zaripov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: