diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2018-11-19 19:05:13 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2018-11-23 10:04:20 +0000 |
commit | 6dcc13d4024ed5fd56610c44140aed72e0248a8e (patch) | |
tree | e3b88d7b98ce1c11552d68ee98a3ed9f65c543f4 /tests/auto/corelib/tools/qlocale/tst_qlocale.cpp | |
parent | 755521aba6d63fc572b5b3ee43193ea24a2d5513 (diff) |
Make QCOMPARE()'s handling of non-finite float match double
The qCompare() implementation for double was handling infinities and
NaN the way tests need, but the one for float didn't; it has just the
same need, so apply the same fix. Extends 79493a3ee1.
Change-Id: I8425026acb61d535e449f579b77fdcd609157f7c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/tools/qlocale/tst_qlocale.cpp')
0 files changed, 0 insertions, 0 deletions