Skip to content

Commit b5d28e9

Browse files
committed
Update readme
1 parent 0fc0bb3 commit b5d28e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ constexpr type_t muldiv(const type_t& value, const type_t& multiplier, const typ
8181
```
8282
## Standard stream input/output
8383
```c++
84-
std::cout << std::oct << 338770000845734292534325025077361652240_ui128 << "\n"; // octal output
85-
std::cout << std::dec << 03766713523035452062041773345651416625031020_ui128 << " \n"; // decimal output
86-
std::cout << std::hex << 0xfedcba9876543210fedcba9876543210_ui128 << "\n"; // hexadecimal output
84+
std::cout << std::oct << 338770000845734292534325025077361652240_ui128 << "\n"; // octal
85+
std::cout << std::dec << 03766713523035452062041773345651416625031020_ui128 << " \n"; // decimal
86+
std::cout << std::hex << 0xfedcba9876543210fedcba9876543210_ui128 << "\n"; // hexadecimal
8787
```
8888
## Limitations
8989
* 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.

0 commit comments

Comments
 (0)