diff --git a/datatypes/mcs_decimal.h b/datatypes/mcs_decimal.h index b079bafde..9ed6a6544 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 (precision > datatypes::INT64MAXPRECISION && 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); }