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

JSON serializer doesn't consider sign bits of floating point values.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4: Low P4: Low
    • None
    • dev
    • Protocol Buffers
    • None

      Floating point values such as -0.0f or -0.0 should be serialized to JSON value considering the sign bit, for example:

      {
          "testFloat": -0,
          "testDouble": -0
      }
      

      It seems the support of sign bits is missing in QJsonValue. Once confirmed the respective issue will be created for QtCore.

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

            manordheim MÃ¥rten Nordheim
            semlanik Alexey Edelev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes