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

qHash(qfloat16(x), seed) != qHash(float(x), seed) unless seed == 0

    XMLWordPrintable

Details

    • 2
    • c86cf385d (dev), 2d4db1bff (6.5), 3a9bbf235 (6.6), 6da6a17de (dev), e8fb761f7 (6.6), eb5be509d (6.5), 0f19cafc3 (dev), 8e14e13c1 (6.6), 3974778dc (6.5), fdfbb6106 (6.5.3), 096a11225 (6.6.0)
    • Foundation Sprint 90

    Description

      I see in my tests (will link to this issue when uploading to Gerrit) that qHash(qfloat16(-42.f), seed) != qHash(-42.f, seed) (unless seed is 0, then they're the same), on platforms that don't exhibit QTBUG-116064, at least.

      Expectation would be, like in the epic, that equal values produce equal hash values.

      Attachments

        Issue Links

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

          Activity

            People

              mmutz Marc Mutz
              mmutz Marc Mutz
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: