Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.2, 6.6.0 Beta2, dev
-
None
-
Ubuntu 20.04, Clang 15, GCC 11, GCC 9
-
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
- is cloned by
-
QTBUG-116077 Inconsistent hashing between different FP types
- Reported
- relates to
-
QTBUG-116064 [REG SiC 6.4 -> 6.5] qHash(qfloat16(x)) is now ambiguous on GCC13
- Closed
For Gerrit Dashboard: QTBUG-116076 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
496753,3 | tst_QHashFunctions: extend the consistency() test with int/FP types | dev | qt/qtbase | Status: MERGED | +2 | 0 |
497081,2 | tst_QHashFunctions: extend the consistency() test with int/FP types | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |
497082,2 | tst_QHashFunctions: extend the consistency() test with int/FP types | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |
503188,4 | Fix qHash(qfloat16) to match Qt 6.4 behavior | dev | qt/qtbase | Status: MERGED | +2 | 0 |
503546,2 | Fix qHash(qfloat16) to match Qt 6.4 behavior | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |
503577,2 | Fix qHash(qfloat16) to match Qt 6.4 behavior | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |
504567,3 | [docs] Fix \since for qHash(qfloat16) | dev | qt/qtbase | Status: MERGED | +2 | 0 |
505193,2 | [docs] Fix \since for qHash(qfloat16) | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |
505395,2 | [docs] Fix \since for qHash(qfloat16) | 6.6.0 | qt/qtbase | Status: MERGED | +2 | 0 |
505396,2 | [docs] Fix \since for qHash(qfloat16) | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |
505438,2 | [docs] Fix \since for qHash(qfloat16) | 6.5.3 | qt/qtbase | Status: MERGED | +2 | 0 |