You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-4511 __float128 type is not supported on aarch64
long double is 128 bit on aarch64, even if it is soft supported, not hardware instrunction supported. So, here we just use long double on aarch64.
This commit is contained in:
@ -1076,7 +1076,7 @@ inline IDB_Decimal TreeNode::getDecimalVal()
|
||||
|
||||
if ((dlScaled > (long double)INT64_MAX) || (dlScaled < (long double)(INT64_MIN)))
|
||||
{
|
||||
datatypes::TFloat128 temp((__float128)dlScaled);
|
||||
datatypes::TFloat128 temp((float128_t)dlScaled);
|
||||
fResult.decimalVal = IDB_Decimal(0, fResultType.scale,
|
||||
fResultType.precision, static_cast<int128_t>(temp));
|
||||
}
|
||||
|
Reference in New Issue
Block a user