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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.1.1
    • 5.1.0 RC1
    • Core: Other
    • None
    • 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

              liaqi Liang Qi
              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