![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <QtCore/qcompare.h>#include <QtCore/qglobal.h>#include <QtCore/qhashfunctions.h>#include <QtCore/qmath.h>#include <QtCore/qnamespace.h>#include <QtCore/qtconfigmacros.h>#include <QtCore/qtformat_impl.h>#include <QtCore/qtypes.h>#include <limits>#include <string.h>#include <type_traits>Go to the source code of this file.
Classes | |
| class | qfloat16 |
| \keyword 16-bit Floating Point Support\inmodule QtCore \inheaderfile QFloat16 More... | |
| struct | QtPrivate::QHypotType< qfloat16, qfloat16 > |
| struct | QtPrivate::QHypotType< R, qfloat16 > |
| struct | QtPrivate::QHypotType< qfloat16, R > |
| class | std::numeric_limits< QT_PREPEND_NAMESPACE(qfloat16)> |
| class | std::numeric_limits< const QT_PREPEND_NAMESPACE(qfloat16)> |
| class | std::numeric_limits< volatile QT_PREPEND_NAMESPACE(qfloat16)> |
| class | std::numeric_limits< const volatile QT_PREPEND_NAMESPACE(qfloat16)> |
Namespaces | |
| namespace | QtPrivate |
| namespace | std |
| [33] | |
Macros | |
| #define | QF16_MAKE_ARITH_OP_FP(FP, OP) |
| #define | QF16_MAKE_ARITH_OP_EQ_FP(FP, OP_EQ, OP) |
| #define | QF16_MAKE_ARITH_OP(FP) |
| #define | QF16_MAKE_ARITH_OP_INT(OP) |
| #define | QF16_CONSTEXPR |
| #define | QF16_PARTIALLY_ORDERED Q_DECLARE_PARTIALLY_ORDERED |
| #define | QF16_MAKE_ORDER_OP_FP(FP) |
Functions | |
| Q_DECLARE_TYPEINFO (qfloat16, Q_PRIMITIVE_TYPE) | |
| Q_CORE_EXPORT void | qFloatToFloat16 (qfloat16 *, const float *, qsizetype length) noexcept |
| Q_CORE_EXPORT void | qFloatFromFloat16 (float *, const qfloat16 *, qsizetype length) noexcept |
| bool | qIsInf (qfloat16 f) noexcept |
| bool | qIsNaN (qfloat16 f) noexcept |
| bool | qIsFinite (qfloat16 f) noexcept |
| int | qFpClassify (qfloat16 f) noexcept |
| qfloat16 | qSqrt (qfloat16 f) |
| int | qRound (qfloat16 d) |
| qint64 | qRound64 (qfloat16 d) |
| bool | qFuzzyCompare (qfloat16 p1, qfloat16 p2) noexcept |
| bool | qFuzzyIsNull (qfloat16 f) noexcept |
| bool | qIsNull (qfloat16 f) |
| int | qIntCast (qfloat16 f) noexcept |
| auto | qHypot (qfloat16 x, qfloat16 y) |
| template<typename F, typename ... Fs> | |
| auto | qHypot (F first, Fs... rest) |
| template<typename T> | |
| QtPrivate::QHypotType< T, qfloat16 >::type | qHypot (T x, qfloat16 y) |
| template<typename T> | |
| auto | qHypot (qfloat16 x, T y) |
| #define QF16_CONSTEXPR |
Definition at line 209 of file qfloat16.h.
| #define QF16_MAKE_ARITH_OP | ( | FP | ) |
Definition at line 174 of file qfloat16.h.
| #define QF16_MAKE_ARITH_OP_EQ_FP | ( | FP, | |
| OP_EQ, | |||
| OP ) |
Definition at line 171 of file qfloat16.h.
| #define QF16_MAKE_ARITH_OP_FP | ( | FP, | |
| OP ) |
| #define QF16_MAKE_ARITH_OP_INT | ( | OP | ) |
| #define QF16_MAKE_ORDER_OP_FP | ( | FP | ) |
Definition at line 220 of file qfloat16.h.
| #define QF16_PARTIALLY_ORDERED Q_DECLARE_PARTIALLY_ORDERED |
Definition at line 210 of file qfloat16.h.
| Q_DECLARE_TYPEINFO | ( | qfloat16 | , |
| Q_PRIMITIVE_TYPE | ) |
|
inlinenodiscardnoexcept |
Definition at line 280 of file qfloat16.h.
Definition at line 327 of file qfloat16.h.
|
inlinenodiscardnoexcept |
Definition at line 343 of file qfloat16.h.
Definition at line 436 of file qfloat16.h.
| auto qHypot | ( | qfloat16 | x, |
| T | y ) |
Definition at line 456 of file qfloat16.h.
| QtPrivate::QHypotType< T, qfloat16 >::type qHypot | ( | T | x, |
| qfloat16 | y ) |
Definition at line 449 of file qfloat16.h.
|
inlinenoexcept |
Definition at line 353 of file qfloat16.h.
|
inlinenodiscardnoexcept |
Definition at line 279 of file qfloat16.h.
References qfloat16::isFinite().
|
inlinenodiscardnoexcept |
Definition at line 277 of file qfloat16.h.
References qfloat16::isInf().
|
inlinenodiscardnoexcept |
Definition at line 278 of file qfloat16.h.
References qfloat16::isNaN().
|
inlinenodiscardnoexcept |
Definition at line 348 of file qfloat16.h.
|
inlinenodiscard |
Definition at line 321 of file qfloat16.h.
Definition at line 324 of file qfloat16.h.
Definition at line 283 of file qfloat16.h.