Add support for built-in __int128 when available
This commit is contained in:
1 parent
16e3c48bb0
commit
6de0454b42
7 files changed
+157
-11
No files matched your search
@@ -158,7 +158,7 @@ template <typename Char> class printf_width_handler {
|
||||
|
||||
template <typename T, FMT_ENABLE_IF(std::is_integral<T>::value)>
|
||||
unsigned operator()(T value) {
|
||||
auto width = static_cast<uint32_or_64_t<T>>(value);
|
||||
auto width = static_cast<uint32_or_64_or_128_t<T>>(value);
|
||||
if (internal::is_negative(value)) {
|
||||
specs_.align = align::left;
|
||||
width = 0 - width;
|
||||
|
||||
Reference in new issue
Block a user