From d33f1b36b4c4bf8972f02fb8ce63cb517fb0f21b Mon Sep 17 00:00:00 2001 From: Roman Nozdrin Date: Mon, 23 Nov 2020 15:50:59 +0000 Subject: [PATCH] MCOL-4394 Followup --- datatypes/mcs_decimal.h | 6 ------ datatypes/mcs_int128.h | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) 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); }