![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Go to the source code of this file.
Enumerations | |
| enum | StrayCharacterMode { TrailingJunkProhibited , TrailingJunkAllowed } |
Functions | |
| QSimpleParsedNumber< double > | qt_asciiToDouble (const char *numnum, qsizetype numLen, StrayCharacterMode strayCharMode=TrailingJunkProhibited) |
| void | qt_doubleToAscii (double d, QLocaleData::DoubleForm form, int precisionprecision, char *bufbuf, qsizetype bufSizebufSize, bool &sign, int &lengthlength, int &decpt) |
| QString | qulltoBasicLatin (qulonglong l, int base, bool negative) |
| QString | qulltoa (qulonglong l, int base, const QStringView zero) |
| char * | qulltoa2 (char *pp, qulonglong nn, int base) |
| Q_CORE_EXPORT QString | qdtoa (qreal d, int *decpt, int *sign) |
| QString | qdtoBasicLatin (double d, QLocaleData::DoubleForm form, int precisionprecision, bool uppercase) |
| QByteArray | qdtoAscii (double d, QLocaleData::DoubleForm form, int precisionprecision, bool uppercase) |
| constexpr int | wholePartSpace (double d) |
| template<typename UcsInt> | |
| constexpr UcsInt | unicodeForDigit (uint digit, UcsInt zero) |
| constexpr qsizetype | qt_repeatCount (QStringView ss) noexcept |
| Q_CORE_EXPORT double | qstrntod (const char *s00, qsizetype lenlen, char const **se, bool *ok) |
| double | qstrtod (const char *s00, char const **se, bool *ok) |
| Q_AUTOTEST_EXPORT QSimpleParsedNumber< qlonglong > | qstrntoll (const char *nptr, qsizetype sizesize, int base) |
| QSimpleParsedNumber< qulonglong > | qstrntoull (const char *nptr, qsizetype sizesize, int base) |
| enum StrayCharacterMode |
| Enumerator | |
|---|---|
| TrailingJunkProhibited | |
| TrailingJunkAllowed | |
Definition at line 37 of file qlocale_tools_p.h.
Definition at line 585 of file qlocale_tools.cpp.
References QLocaleData::DFSignificantDigits.
|
nodiscard |
Definition at line 806 of file qlocale_tools.cpp.
Referenced by QByteArray::number().
|
nodiscard |
Definition at line 801 of file qlocale_tools.cpp.
|
nodiscard |
Converts the initial portion of the string pointed to by s00 to a double, using the 'C' locale. The function sets the pointer pointed to by se to point to the character past the last character converted.
Definition at line 575 of file qlocale_tools.cpp.
|
nodiscard |
Definition at line 440 of file qlocale_tools.cpp.
References scanPrefix().
|
nodiscard |
Definition at line 422 of file qlocale_tools.cpp.
References scanPrefix().
|
inlinenodiscard |
Definition at line 117 of file qlocale_tools_p.h.
|
nodiscard |
Definition at line 256 of file qlocale_tools.cpp.
References TrailingJunkAllowed.
| QT_CLOCALE_HOLDER void qt_doubleToAscii | ( | double | d, |
| QLocaleData::DoubleForm | form, | ||
| int | precision, | ||
| char * | buf, | ||
| qsizetype | bufSize, | ||
| bool & | sign, | ||
| int & | length, | ||
| int & | decpt ) |
Definition at line 48 of file qlocale_tools.cpp.
References QLocaleData::DFExponent, and QLocaleData::DFSignificantDigits.
|
inlinenodiscardconstexprnoexcept |
Definition at line 104 of file qlocale_tools_p.h.
|
nodiscard |
Definition at line 521 of file qlocale_tools.cpp.
|
nodiscard |
Definition at line 556 of file qlocale_tools.cpp.
|
nodiscard |
Definition at line 503 of file qlocale_tools.cpp.
|
inlinenodiscardconstexpr |
Definition at line 85 of file qlocale_tools_p.h.
|
inlinenodiscardconstexpr |
Definition at line 75 of file qlocale_tools_p.h.