Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-31926

Number precision in QJsonDocument.toJson() is still not enough for double

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.1.0 RC1
    • Fix Version/s: 5.1.1
    • Component/s: Core: Other
    • Labels:
      None
    • Commits:
      94c8efff8a46c245cd4cae1e2630c608374c442d

      Description

      https://en.wikipedia.org/wiki/IEEE_floating_point

      It should be "17 decimal digits for binary64", but now it's only 13.

        Attachments

        1. bug31926test.pro
          0.3 kB
        2. main.cpp
          1 kB

          Issue Links

          For Gerrit Dashboard: QTBUG-31926
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              liaqi Liang Qi
              Reporter:
              liaqi Liang Qi
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes