#include "qlocale_p.h"
#include "qstring.h"
Go to the source code of this file.
|
double | qt_asciiToDouble (const char *num, qsizetype numLen, bool &ok, int &processed, StrayCharacterMode strayCharMode=TrailingJunkProhibited) |
|
void | qt_doubleToAscii (double d, QLocaleData::DoubleForm form, int precision, char *buf, int bufSize, bool &sign, int &length, int &decpt) |
|
QString | qulltoBasicLatin (qulonglong l, int base, bool negative) |
|
QString | qulltoa (qulonglong l, int base, const QStringView zero) |
|
Q_CORE_EXPORT QString | qdtoa (qreal d, int *decpt, int *sign) |
|
QString | qdtoBasicLatin (double d, QLocaleData::DoubleForm form, int precision, bool uppercase) |
|
QByteArray | qdtoAscii (double d, QLocaleData::DoubleForm form, int precision, bool uppercase) |
|
constexpr bool | isZero (double d) |
|
int | wholePartSpace (double d) |
|
template<typename UcsInt > |
UcsInt | unicodeForDigit (uint digit, UcsInt zero) |
|
Q_CORE_EXPORT double | qstrntod (const char *s00, qsizetype len, char const **se, bool *ok) |
|
double | qstrtod (const char *s00, char const **se, bool *ok) |
|
qlonglong | qstrntoll (const char *nptr, qsizetype size, const char **endptr, int base, bool *ok) |
|
qulonglong | qstrntoull (const char *nptr, qsizetype size, const char **endptr, int base, bool *ok) |
|
◆ StrayCharacterMode
Enumerator |
---|
TrailingJunkProhibited | |
TrailingJunkAllowed | |
WhitespacesAllowed | |
Definition at line 59 of file qlocale_tools_p.h.
◆ isZero()
constexpr bool isZero |
( |
double |
d | ) |
|
|
inlineconstexpr |
◆ qdtoa()
Q_CORE_EXPORT QString qdtoa |
( |
qreal |
d, |
|
|
int * |
decpt, |
|
|
int * |
sign |
|
) |
| |
◆ qdtoAscii()
◆ qdtoBasicLatin()
◆ qstrntod()
◆ qstrntoll()
◆ qstrntoull()
◆ qstrtod()
double qstrtod |
( |
const char * |
s00, |
|
|
char const ** |
se, |
|
|
bool * |
ok |
|
) |
| |
|
inline |
◆ qt_asciiToDouble()
◆ qt_doubleToAscii()
void qt_doubleToAscii |
( |
double |
d, |
|
|
QLocaleData::DoubleForm |
form, |
|
|
int |
precision, |
|
|
char * |
buf, |
|
|
int |
bufSize, |
|
|
bool & |
sign, |
|
|
int & |
length, |
|
|
int & |
decpt |
|
) |
| |
◆ qulltoa()
◆ qulltoBasicLatin()
◆ unicodeForDigit()
template<typename UcsInt >
UcsInt unicodeForDigit |
( |
uint |
digit, |
|
|
UcsInt |
zero |
|
) |
| |
|
inline |
◆ wholePartSpace()
int wholePartSpace |
( |
double |
d | ) |
|
|
inline |