Doc: Fix link error to qFuzzyIsNull()

Pick-to: 6.1 6.2
Change-Id: I17d890d4d61199dd74598ffa4c670ed65894047c
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
Nico Vertriest 2021-08-05 11:24:43 +02:00
parent 726119c431
commit 7d7b484429

View File

@ -123,10 +123,11 @@
\snippet code/src_qtestlib_qtestcase.cpp 2
When comparing floating-point types (\c float, \c double, and \c qfloat16),
\l {qFuzzyCompare()} is used for finite values. If \l {qFuzzyIsNull()} is true for
both values, they are also considered equal. Infinities match if they have
the same sign, and any NaN as actual value matches with any NaN as expected
value (even though NaN != NaN, even when they're identical).
\l {qFuzzyCompare()} is used for finite values. If \l {<QtGlobal>::}{qFuzzyIsNull()}
is true for both values, they are also considered equal. Infinities
match if they have the same sign, and any NaN as actual value matches
with any NaN as expected value (even though NaN != NaN, even when
they're identical).
When comparing QList, arrays and initializer lists of the value type
can be passed as expected value: