Audacity 3.2.0
|
Define functions to convert numeric types to string representation. More...
#include <system_error>
Go to the source code of this file.
Classes | |
struct | ToCharsResult |
Result of the conversion, similar to std::to_chars_result. More... | |
Functions | |
STRING_UTILS_API ToCharsResult | ToChars (char *buffer, char *last, float value, int digitsAfterDecimalPoint=-1) noexcept |
Convert a single precision floating point number to a string, always uses the dot as decimal. More... | |
STRING_UTILS_API ToCharsResult | ToChars (char *buffer, char *last, double value, int digitsAfterDecimalPoint=-1) noexcept |
Convert a double precision floating point number to a string, always uses the dot as decimal. More... | |
STRING_UTILS_API ToCharsResult | ToChars (char *buffer, char *last, long long value) noexcept |
Convert a signed 64 bit integer value to string. More... | |
STRING_UTILS_API ToCharsResult | ToChars (char *buffer, char *last, unsigned long long value) noexcept |
Convert a unsigned 64 bit integer value to string. More... | |
Define functions to convert numeric types to string representation.
Declare functions to convert numeric types to string representation.
Audacity: A Digital Audio Editor
Dmitry Vedenko
Definition in file ToChars.h.
|
noexcept |
Convert a double precision floating point number to a string, always uses the dot as decimal.
Definition at line 1233 of file ToChars.cpp.
References internal::float_to_chars().
|
noexcept |
Convert a single precision floating point number to a string, always uses the dot as decimal.
Definition at line 1225 of file ToChars.cpp.
References internal::float_to_chars().
Referenced by ToChars(), and XMLUtf8BufferWriter::WriteAttr().
|
noexcept |
Convert a signed 64 bit integer value to string.
Definition at line 1242 of file ToChars.cpp.
References ToChars().
|
noexcept |
Convert a unsigned 64 bit integer value to string.
Definition at line 1256 of file ToChars.cpp.
References staffpad::vo::copy(), and internal::itoa_impl::u64toa_jeaiii().