Qt 4.8
|
Go to the source code of this file.
Functions | |
Q_CORE_EXPORT double | qInf () |
Returns the bit pattern for an infinite number as a double. More... | |
Q_CORE_EXPORT bool | qIsFinite (double d) |
Returns true if the double {d} is a finite number. More... | |
Q_CORE_EXPORT bool | qIsFinite (float f) |
Returns true if the float {f} is a finite number. More... | |
Q_CORE_EXPORT bool | qIsInf (double d) |
Returns true if the double {d} is equivalent to infinity. More... | |
Q_CORE_EXPORT bool | qIsInf (float f) |
Returns true if the float {f} is equivalent to infinity. More... | |
Q_CORE_EXPORT bool | qIsNaN (double d) |
Returns true if the double {d} is not a number (NaN). More... | |
Q_CORE_EXPORT bool | qIsNaN (float f) |
Returns true if the float {f} is not a number (NaN). More... | |
Q_CORE_EXPORT double | qQNaN () |
Returns the bit pattern of a quiet NaN as a double. More... | |
Q_CORE_EXPORT double | qSNaN () |
Returns the bit pattern of a signalling NaN as a double. More... | |
Q_CORE_EXPORT double qInf | ( | ) |
Returns the bit pattern for an infinite number as a double.
Definition at line 90 of file qnumeric.cpp.
Referenced by QTextStreamPrivate::getReal(), QDeclarativeJS::integerFromString(), and QScript::integerFromString().
Q_CORE_EXPORT bool qIsFinite | ( | double | d | ) |
Q_CORE_EXPORT bool qIsFinite | ( | float | f | ) |
Q_CORE_EXPORT bool qIsInf | ( | double | d | ) |
Returns true if the double {d} is equivalent to infinity.
Definition at line 50 of file qnumeric.cpp.
Referenced by QPatternist::DurationNumericMathematician::calculate(), QPatternist::AbstractFloat< isDouble >::isEqual(), QPatternist::AbstractFloat< isDouble >::isInf(), QPatternist::Numeric::roundFloat(), QPatternist::AbstractFloat< isDouble >::stringValue(), QScript::ToInt32(), QScript::ToInteger(), QScript::ToUInt16(), and QScript::ToUInt32().
Q_CORE_EXPORT bool qIsInf | ( | float | f | ) |
Returns true if the float {f} is equivalent to infinity.
Definition at line 65 of file qnumeric.cpp.
Q_CORE_EXPORT bool qIsNaN | ( | double | d | ) |
Returns true if the double {d} is not a number (NaN).
Definition at line 55 of file qnumeric.cpp.
Referenced by _q_equal(), QGraphicsRotation::applyTo(), QPatternist::DurationNumericMathematician::calculate(), QPatternist::NumericToBooleanCaster::castFrom(), QPatternist::AbstractFloatSortComparator< t_op >::compare(), QDeclarativePath::createPointCache(), QPatternist::AbstractFloat< isDouble >::evaluateEBV(), QPatternist::SubstringFN::evaluateSingleton(), QTransform::fromScale(), QTransform::fromTranslate(), QPatternist::AbstractFloat< isDouble >::isNaN(), QPatternist::loadPattern(), QScript::MsToDateTime(), qt_real_to_string(), QTransform::rotate(), QTransform::rotateRadians(), QPatternist::Numeric::roundFloat(), QTransform::scale(), QGradient::setColorAt(), QGraphicsWidgetPrivate::setHeight(), QDeclarativeItemPrivate::setHeight(), QGraphicsWidgetPrivate::setWidth(), QDeclarativeItemPrivate::setWidth(), QGraphicsItem::setX(), QGraphicsItem::setY(), QTransform::shear(), QPatternist::AbstractFloat< isDouble >::stringValue(), QScript::ToBool(), QScript::ToInt32(), QScript::ToInteger(), QScript::ToUInt16(), QScript::ToUInt32(), and QTransform::translate().
Q_CORE_EXPORT bool qIsNaN | ( | float | f | ) |
Q_CORE_EXPORT double qQNaN | ( | ) |
Q_CORE_EXPORT double qSNaN | ( | ) |
Returns the bit pattern of a signalling NaN as a double.
Definition at line 80 of file qnumeric.cpp.
Referenced by QScript::DateTimeToMs(), QTextStreamPrivate::getReal(), QDeclarativeJS::integerFromString(), and QScript::integerFromString().