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-471 Fix GCC 6.3 support
isnan requires std:: namespace
This commit is contained in:
@ -108,7 +108,7 @@ protected:
|
|||||||
}
|
}
|
||||||
exponent = (int)floor(log10( fabs(floatVal)));
|
exponent = (int)floor(log10( fabs(floatVal)));
|
||||||
base = floatVal * pow(10, -1.0*exponent);
|
base = floatVal * pow(10, -1.0*exponent);
|
||||||
if (isnan(exponent) || isnan(base))
|
if (std::isnan(exponent) || std::isnan(base))
|
||||||
{
|
{
|
||||||
snprintf(buf, 20, "%f", floatVal);
|
snprintf(buf, 20, "%f", floatVal);
|
||||||
fFloatStr = execplan::removeTrailing0(buf, 20);
|
fFloatStr = execplan::removeTrailing0(buf, 20);
|
||||||
|
Reference in New Issue
Block a user