Skip to content

Commit 650bdc1

Browse files
committed
Update readme file
Fix mistypings
1 parent 0a27cc4 commit 650bdc1

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ where native_t may be one of base unsigned type and size must by power of two.
2626
* [long_math_gcc.h](include/slimcpplib/long_math_gcc.h) - GCC, CLANG helper classes and functions (Could be completely removed if irrelevant)
2727
* [long_math_msvc.h](include/slimcpplib/long_math_msvc.h) - MSVC helper classes and functions (Could be completely removed if irrelevant)
2828
## Integration
29-
The library implements four predefined types: uint128_t, uint256_t, int128_t, int256_t. You can use them in you project by include code below:
29+
The library implements four predefined types: uint128_t, uint256_t, int128_t, int256_t. You can use them in your project by include code below:
3030
```c++
3131
#include <slimcpplib/long_int.h> // Include all integers support
3232
// or
@@ -58,12 +58,12 @@ constexpr auto u = 0xfedcba98'76543210'fedcba98'76543210_ui128; // hexa
5858
```
5959
## Construction:
6060
```c++
61-
const uint128_t u; // construct uninitialized unsigned integer
62-
const uint128_t u = 1U; // construction from unsigned integer
63-
const int128_t s = -1; // construction from signed integer
64-
const uint128_t u = 10000_ui128; // construction from long unsigned integer
65-
const int128_t u = -10000_i128; // construction from long signed integer
66-
const uint128_t u = true; // construction from boolean value
61+
const uint128_t u; // construct uninitialized unsigned integer
62+
const uint128_t u = 1U; // construction from unsigned integer
63+
const int128_t s = -1; // construction from signed integer
64+
const uint128_t u = 10000_ui128; // construction from long unsigned integer
65+
const int128_t u = -10000_si128; // construction from long signed integer
66+
const uint128_t u = true; // construction from boolean value
6767
```
6868
## Operators
6969
* long_uint_t type supports following operators:

0 commit comments

Comments
 (0)