long double is a floating point type.

This commit is contained in:
Robert Reif 2017-03-22 19:11:40 -04:00
parent f099c6a110
commit fda1f02dab
1 changed files with 1 additions and 1 deletions

View File

@ -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);