summaryrefslogtreecommitdiffstats
path: root/src/corelib/global
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/global')
-rw-r--r--src/corelib/global/qfloat16.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/corelib/global/qfloat16.h b/src/corelib/global/qfloat16.h
index b0272c51c3..054d503249 100644
--- a/src/corelib/global/qfloat16.h
+++ b/src/corelib/global/qfloat16.h
@@ -62,8 +62,6 @@ public:
Q_DECL_CONSTEXPR inline qfloat16() Q_DECL_NOTHROW : b16(0) { }
inline qfloat16(float f) Q_DECL_NOTHROW;
inline operator float() const Q_DECL_NOTHROW;
- inline operator double() const Q_DECL_NOTHROW;
- inline operator long double() const Q_DECL_NOTHROW;
#endif
private:
@@ -153,16 +151,6 @@ inline qfloat16::operator float() const Q_DECL_NOTHROW
#endif
}
-inline qfloat16::operator double() const Q_DECL_NOTHROW
-{
- return static_cast<double>(float(*this));
-}
-
-inline qfloat16::operator long double() const Q_DECL_NOTHROW
-{
- return static_cast<long double>(float(*this));
-}
-
inline qfloat16 operator-(qfloat16 a) Q_DECL_NOTHROW
{
qfloat16 f;