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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.1.1
    • 5.1.0 RC1
    • Core: Other
    • None
    • 94c8efff8a46c245cd4cae1e2630c608374c442d

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

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

        1. bug31926test.pro
          0.3 kB
        2. main.cpp
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes