You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCOL-641 Initial version of Math operations for wide decimal.
This commit is contained in:
@ -80,9 +80,7 @@ namespace utils
|
||||
|
||||
inline void int128Min(int128_t& val)
|
||||
{
|
||||
uint64_t* ptr = reinterpret_cast<uint64_t*>(&val);
|
||||
ptr[0] = 0;
|
||||
ptr[1] = 0x8000000000000000;
|
||||
val = int128_t(0x8000000000000000LL) << 64;
|
||||
}
|
||||
|
||||
inline void uint128Max(uint128_t& val)
|
||||
|
Reference in New Issue
Block a user