summaryrefslogtreecommitdiffstats
path: root/LICENSE.GPL3-EXCEPT
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2018-01-09 18:21:45 -0800
committerThiago Macieira <thiago.macieira@intel.com>2018-03-21 14:23:13 +0000
commit79493a3ee129c014298c6ef694415b8f0fffd74b (patch)
treee6e3041f01f07eb9b9aca43c72ee738e1cf3d11e /LICENSE.GPL3-EXCEPT
parent6e8e9979d0786d7d730528c2888e0e1af4fb96ca (diff)
Make QCOMPARE(-inf, -inf) and QCOMPARE(NaN, NaN) succeed
This will make two floating points containing NaN compare as equal, instead of the regular nan != nan IEEE behavior (which isn't very useful in a unit-test framework). Note that this does not apply to indirect comparisons, for example via QVariant. Change-Id: I39332e0a867442d58082fffd150851acfdd18c23 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'LICENSE.GPL3-EXCEPT')
0 files changed, 0 insertions, 0 deletions