mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-25 10:09:36 +02:00
enh(NumberFormatter): Introduce backward compatible options for formatHex functions (#4333)
* enh(NumberFormatter): Introduce backward compatible options for formatHex functions. * enh(NumberFormatter): Corrections and improvements suggested in code review. * fix(ci): disable testEncryptDecryptGCM on macOS which often fails. * enh(NumberFormatter): Improved naming.
This commit is contained in:
@@ -46,8 +46,8 @@ typedef Poco::Int64 intmax_t;
|
||||
#pragma warning(disable : 4146)
|
||||
#endif // POCO_COMPILER_MSVC
|
||||
|
||||
// binary numbers are supported, thus 64 (bits) + 1 (string terminating zero)
|
||||
#define POCO_MAX_INT_STRING_LEN 65
|
||||
// binary numbers are supported, thus 64 (bits) + 1 (string terminating zero) + 2 (hex prefix)
|
||||
#define POCO_MAX_INT_STRING_LEN (67)
|
||||
// value from strtod.cc (double_conversion::kMaxSignificantDecimalDigits)
|
||||
#define POCO_MAX_FLT_STRING_LEN 780
|
||||
|
||||
|
||||
Reference in New Issue
Block a user