qt6-bb10/tests/auto/corelib
Ivan Solovev f53074c747 QArrayDataOps: fix FP equality comparison
We cannot use memcmp() for that, as it incorrectly results in two
NaN values being equal.
Simply replace the whole self-written algorithm with std::equal(),
as it's doing the same thing, but lets the compiler decide when
to do the optimizations.

Amends db89349bdb.

[ChangeLog][QtCore][QList] Fixed a bug when two QLists holding NaN
values were considered to be equal.

Fixes: QTBUG-127473
Pick-to: 6.7 6.5 6.2
Change-Id: If7e77549b4cbeb96711893d14344b9e0a40c1a87
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit cb3faeba3d9411ba82c311751bd7de36d0fec939)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-07-26 11:22:32 +00:00
..
animation Change license for tests files 2024-02-04 09:56:42 +01:00
global Rework comparison helper macros to get rid of conditional noexcept 2024-07-16 11:32:19 +00:00
io Call std::addressof instead of operator& in QDebug::toString 2024-07-25 11:21:35 +00:00
ipc ipctestcommon.h: add #pragma once 2024-07-22 21:00:12 +00:00
itemmodels [doc] Q(Persistent)ModelIndex: document behavior of data() on invalid Q(P)MIs 2024-07-06 10:17:53 +00:00
kernel tst_QDeadlineTimer: fix format-string in toString() implementation 2024-07-22 21:00:13 +00:00
mimetypes tst_QMimeDatabase: update shared-mime-info local testing instructions 2024-07-23 22:52:53 +00:00
platform Rename target of the BSTR test in QtCore to avoid conflict 2024-07-09 14:10:16 +00:00
plugin QLibrary/Unix: update the x86-64-v3 prefix path in our search 2024-07-11 08:27:24 +00:00
serialization Tests: disable various compiler warnings 2024-07-12 00:48:40 +00:00
text QAnyStringView: check QASV(char) isn't UTF-8 2024-07-17 16:26:27 +00:00
thread QThread/Unix: fix normal exit/terminate() race 2024-07-11 08:27:17 +00:00
time Update CLDR Windows timezone data to v44.1 2024-06-02 15:25:00 +02:00
tools QArrayDataOps: fix FP equality comparison 2024-07-26 11:22:32 +00:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00