You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
MCOL-4394 __float128 related code had been moved into a separate file
Trim to double and to long double conversions for Decimal
This commit is contained in:
@ -392,7 +392,7 @@ double Func_ceil::getDoubleVal(Row& row,
|
||||
|
||||
if (op_ct.colWidth == datatypes::MAXDECIMALWIDTH)
|
||||
{
|
||||
ret = datatypes::Decimal::getDoubleFromWideDecimal(tmp.s128Value);
|
||||
ret = static_cast<double>(tmp.toTSInt128());
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -448,7 +448,7 @@ long double Func_ceil::getLongDoubleVal(Row& row,
|
||||
|
||||
if (op_ct.colWidth == datatypes::MAXDECIMALWIDTH)
|
||||
{
|
||||
ret = datatypes::Decimal::getLongDoubleFromWideDecimal(tmp.s128Value);
|
||||
ret = static_cast<long double>(tmp.toTSInt128());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user