Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include "QtCore/private/qglobal_p.h"
#include "QtCore/qnumeric.h"
#include "QtCore/qsimd.h"
#include <cmath>
#include <limits>
#include <type_traits>
Go to the source code of this file.
Namespaces | |
namespace | qnumeric_std_wrapper |
Macros | |
#define | __has_extension(X) 0 |
#define __has_extension | ( | X | ) | 0 |
Definition at line 27 of file qnumeric_p.h.
|
inlinestatic |
Definition at line 122 of file qnumeric_p.h.
References d, and qnumeric_std_wrapper::fpclassify().
Referenced by qFpClassify(), and qFpClassify().
|
inlinestatic |
Definition at line 142 of file qnumeric_p.h.
References qnumeric_std_wrapper::fpclassify().
|
inlinestaticconstexprnoexcept |
Definition at line 83 of file qnumeric_p.h.
Referenced by QTextStreamPrivate::getReal(), QV4::MathObject::method_exp(), QV4::MathObject::method_expm1(), QV4::MathObject::method_max(), QV4::MathObject::method_min(), and qt_asciiToDouble().
|
inlinestatic |
Definition at line 117 of file qnumeric_p.h.
References d, and qnumeric_std_wrapper::isfinite().
Referenced by QQuickContext2D::arc(), QQuickContext2D::arcTo(), QString::arg(), QQuickContext2D::clearRect(), QSGBatchRenderer::Element::computeBounds(), QLocaleData::doubleToString(), QQuickContext2D::drawText(), dtoString(), QQuickContext2D::ellipse(), QQuickContext2D::fillRect(), fpToJson(), QJsonValue::fromVariant(), QQuickContext2DStyle::gradient_proto_addColorStop(), QLineF::intersects(), QQuickContext2D::isPointInPath(), QQuickJSContext2DPrototype::method_arc(), QQuickJSContext2DPrototype::method_arcTo(), QV4::MathObject::method_atan2(), QQuickJSContext2DPrototype::method_bezierCurveTo(), QQuickJSContext2DPrototype::method_createConicalGradient(), QQuickJSContext2DPrototype::method_createImageData(), QQuickJSContext2DPrototype::method_createLinearGradient(), QQuickJSContext2DPrototype::method_createRadialGradient(), QQuickJSContext2DPrototype::method_drawImage(), QQuickJSContext2DPrototype::method_fillText(), QQuickJSContext2DPrototype::method_getImageData(), QQuickJSContext2DPrototype::method_lineTo(), QQuickJSContext2DPrototype::method_moveTo(), QQuickJSContext2DPrototype::method_putImageData(), QQuickJSContext2DPrototype::method_quadraticCurveTo(), QQuickJSContext2D::method_set_globalAlpha(), QQuickJSContext2D::method_set_lineDashOffset(), QQuickJSContext2D::method_set_lineWidth(), QQuickJSContext2D::method_set_miterLimit(), QQuickJSContext2D::method_set_shadowBlur(), QQuickJSContext2D::method_set_shadowOffsetX(), QQuickJSContext2D::method_set_shadowOffsetY(), QQuickJSContext2DPrototype::method_setLineDash(), QQuickJSContext2DPrototype::method_text(), qt_asciiToDouble(), QQuickContext2D::rect(), QQuickContext2D::rotate(), QQuickContext2D::roundedRect(), QQuickContext2D::scale(), QQuickAbstractColorPicker::setAlpha(), QQuickColorDialogImpl::setAlpha(), QQuickTableView::setColumnSpacing(), QQuickAbstractColorPicker::setHue(), QQuickColorDialogImpl::setHue(), QQuickAbstractColorPicker::setLightness(), QQuickColorDialogImpl::setLightness(), QQuickScrollBar::setMinimumSize(), QQuickScrollBarPrivate::setPosition(), QQuickTableView::setRowSpacing(), QQuickAbstractColorPicker::setSaturation(), QQuickColorDialogImpl::setSaturation(), QQuickScrollBar::setSize(), QQuickScrollBar::setStepSize(), QQuickContext2D::setTransform(), QQuickAbstractColorPicker::setValue(), QQuickColorDialogImpl::setValue(), QQuickContext2D::shear(), QQuickContext2D::strokeRect(), TimeClip(), QQuickContext2D::transform(), QQuickContext2D::translate(), QQuickImage::updatePaintNode(), and valueToJson().
|
inlinestatic |
Definition at line 137 of file qnumeric_p.h.
References qnumeric_std_wrapper::isfinite().
|
inlinestatic |
Definition at line 107 of file qnumeric_p.h.
References d, and qnumeric_std_wrapper::isinf().
Referenced by makeFpString(), QV4::MathObject::method_atan2(), QV4::MathObject::method_exp(), QV4::MathObject::method_expm1(), QV4::MathObject::method_fround(), QV4::NumberPrototype::method_isFinite(), QV4::NumberPrototype::method_isInteger(), QV4::NumberPrototype::method_isSafeInteger(), QV4::NumberPrototype::method_toFixed(), QV4::RuntimeHelpers::numberToString(), and qt_doubleToAscii().
|
inlinestatic |
Definition at line 127 of file qnumeric_p.h.
References qnumeric_std_wrapper::isinf().
|
inlinestatic |
Definition at line 112 of file qnumeric_p.h.
References d, and qnumeric_std_wrapper::isnan().
Referenced by QQuickTimeLine::accel(), QQuickTimeLine::accel(), QQuickTimeLine::accelDistance(), makeFpString(), QQmlDesignerMetaObject::metaCall(), qt_asciiToDouble(), qt_curves_for_arc(), qt_doubleToAscii(), QQuickControlPrivate::resizeBackground(), QQuickAnchorChanges::reverse(), QQuickAnchorChanges::rewind(), QQuickTableView::setColumnSpacing(), QQuickGridLayout::setColumnSpacing(), QV4::StaticValue::setDouble(), QQuickItem::setHeight(), QQuickLayoutAttached::setMaximumHeight(), QQuickLayoutAttached::setMaximumWidth(), QQuickLayoutAttached::setMinimumHeight(), QQuickLayoutAttached::setMinimumWidth(), QQuickLayoutAttached::setPreferredHeight(), QQuickLayoutAttached::setPreferredWidth(), QQuickTableView::setRowSpacing(), QQuickGridLayout::setRowSpacing(), QQuickLinearLayout::setSpacing(), QQuickItem::setWidth(), QQuickItem::setX(), QQuickItem::setY(), and QCoreGraphicsPaintEngine::updateMatrix().
|
inlinestatic |
Definition at line 132 of file qnumeric_p.h.
References qnumeric_std_wrapper::isnan().
|
inlinestaticconstexprnoexcept |
Definition at line 100 of file qnumeric_p.h.
Referenced by DateFromTime(), DayFromMonth(), QTextStreamPrivate::getReal(), QV4::NumberPrototype::init(), QV4::Date::init(), MakeDay(), QV4::MathObject::method_abs(), QV4::MathObject::method_acos(), QV4::MathObject::method_acosh(), QV4::MathObject::method_asin(), QV4::MathObject::method_atan(), QV4::MathObject::method_atan2(), QV4::MathObject::method_atanh(), QV4::MathObject::method_cbrt(), QV4::MathObject::method_ceil(), QV4::StringPrototype::method_charCodeAt(), QV4::MathObject::method_cos(), QV4::MathObject::method_cosh(), QV4::MathObject::method_exp(), QV4::MathObject::method_expm1(), QV4::MathObject::method_floor(), QV4::MathObject::method_fround(), QV4::MathObject::method_log(), QV4::MathObject::method_log10(), QV4::MathObject::method_log1p(), QV4::MathObject::method_log2(), QV4::DatePrototype::method_parse(), QV4::MathObject::method_pow(), QV4::MathObject::method_round(), QQuickJSContext2D::method_set_globalAlpha(), QQuickJSContext2D::method_set_shadowOffsetX(), QQuickJSContext2D::method_set_shadowOffsetY(), QV4::DatePrototype::method_setDate(), QV4::DataViewPrototype::method_setFloat(), QV4::DatePrototype::method_setFullYear(), QV4::DatePrototype::method_setHours(), QV4::DatePrototype::method_setMilliseconds(), QV4::DatePrototype::method_setMinutes(), QV4::DatePrototype::method_setMonth(), QV4::DatePrototype::method_setSeconds(), QV4::DatePrototype::method_setTime(), QV4::DatePrototype::method_setUTCDate(), QV4::DatePrototype::method_setUTCFullYear(), QV4::DatePrototype::method_setUTCHours(), QV4::DatePrototype::method_setUTCMilliseconds(), QV4::DatePrototype::method_setUTCMinutes(), QV4::DatePrototype::method_setUTCMonth(), QV4::DatePrototype::method_setUTCSeconds(), QV4::DatePrototype::method_setYear(), QV4::MathObject::method_sign(), QV4::MathObject::method_sin(), QV4::MathObject::method_sinh(), QV4::MathObject::method_sqrt(), QV4::MathObject::method_tan(), QV4::MathObject::method_tanh(), QV4::MathObject::method_trunc(), MonthFromTime(), QV4::Date::operator double(), ParseString(), qt_asciiToDouble(), and TimeClip().
|
staticconstexpr |
Definition at line 442 of file qnumeric_p.h.