Doc: fix links to qFuzzyIsNull
The function is in the QtNumeric documentation context. Change-Id: Ibc6a8961bc04efd4ab1eb50bb371e6a169d513dc Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> (cherry picked from commit c1cbb12e57e24b977b1a5c5be711793d6e67c113) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
eaec945923
commit
d5921e7376
@ -484,7 +484,7 @@ QDebug operator<<(QDebug dbg, const QMargins &m)
|
||||
Returns \c true if all margins are very close to 0; otherwise returns
|
||||
false.
|
||||
|
||||
\sa {<QtGlobal>::}{qFuzzyIsNull}
|
||||
\sa {<QtNumeric>::}{qFuzzyIsNull()}
|
||||
*/
|
||||
|
||||
|
||||
|
@ -103,7 +103,7 @@
|
||||
\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 {<QtGlobal>::}{qFuzzyIsNull()}
|
||||
\l {qFuzzyCompare()} is used for finite values. If \l {<QtNumeric>::}{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
|
||||
|
Loading…
x
Reference in New Issue
Block a user