long double is a floating point type.
This commit is contained in:
parent
f099c6a110
commit
fda1f02dab
|
@ -1052,7 +1052,7 @@ public:
|
|||
}
|
||||
|
||||
bool isFloat() const {
|
||||
return (type == ValueType::Type::FLOAT || type == ValueType::Type::DOUBLE);
|
||||
return (type >= ValueType::Type::FLOAT && type <= ValueType::Type::LONGDOUBLE);
|
||||
}
|
||||
|
||||
bool fromLibraryType(const std::string &typestr, const Settings *settings);
|
||||
|
|
Loading…
Reference in New Issue