You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
std::cout << std::oct << 338770000845734292534325025077361652240_ui128 << "\n"; // output value in octal form
85
+
std::cout << std::dec << 03766713523035452062041773345651416625031020_ui128 << " \n"; // output value in decimal form
86
+
std::cout << std::hex << 0xfedcba9876543210fedcba9876543210_ui128 << "\n"; // output value in hexadecimal form
87
+
```
80
88
## Limitations
81
89
* Although all methods and functions are defined using the constexpr qualifier, due to the limitations of C++ 17, working completely at compile time is only possible for code without instrinsics, since there is no implementation of [std::is_constant_evaluated()](https://en.cppreference.com/w/cpp/types/is_constant_evaluated) in the standard before C++ 20.
82
90
* The design of long integers tries to completely repeat the behavior of native integers, but still differs. For example, the propagation of integer types always occurs from a signed integer to an unsigned integer, and an implicit conversion from a larger integer to a smaller integer does not cause a warning, but a compilation error.
0 commit comments