83 if(val >= -0.5 && val < 0)
86 return ::floor(val + 0.5);
QBool contains(QChar c, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
Base template class for Float and Double classes.
#define QT_END_NAMESPACE
This macro expands to.
static AtomicValue::Ptr fromLexical(const QString &strNumeric)
The QString class provides a Unicode character string.
#define QT_BEGIN_NAMESPACE
This macro expands to.
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
The namespace for the internal API of QtXmlPatterns.
static AtomicValue::Ptr fromLexical(const QString &number)
Q_CORE_EXPORT bool qIsNaN(double d)
Returns true if the double {d} is not a number (NaN).
#define Q_ASSERT_X(cond, where, what)
Contains class Numeric. This file was originally called qnumeric_p.h, but various build systems canno...
static AtomicValue::Ptr fromLexical(const QString &strNumeric)
static xsDouble roundFloat(const xsDouble val)
Implements fn:round() for types implemented with floating point.
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
Q_CORE_EXPORT bool qIsInf(double d)
Returns true if the double {d} is equivalent to infinity.