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. main.cpp
          1 kB
        2. bug31926test.pro
          0.3 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          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