diff --git a/datatypes/mcs_decimal.h b/datatypes/mcs_decimal.h index c256500ab..e221d6dfc 100644 --- a/datatypes/mcs_decimal.h +++ b/datatypes/mcs_decimal.h @@ -590,12 +590,6 @@ class VDecimal: public TSInt128 return toDouble(); } - inline long double toLongDouble() const - { - datatypes::TFloat128 y(s128Value); - return static_cast(y); - } - bool operator==(const VDecimal& rhs) const { if (isTSInt128ByPrecision() && rhs.isTSInt128ByPrecision()) diff --git a/datatypes/mcs_int128.h b/datatypes/mcs_int128.h index e923b2e1c..c458589d2 100644 --- a/datatypes/mcs_int128.h +++ b/datatypes/mcs_int128.h @@ -185,7 +185,7 @@ class TSInt128 return toDouble(); } - inline long double toDouble() const + inline double toDouble() const { return static_cast(s128Value); }