Skip to content

Commit 94b18fb

Browse files
authored
Update README.md
1 parent 640b502 commit 94b18fb

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,14 @@ class long_int_t; // signed integer
2121
where native_t may be one of base unsigned type and size must by power of two.
2222
## Implementation
2323
[long_int.h](include/long_int.h) - long signed integer class
24+
2425
[long_uint.h](include/long_uint.h) - long unsigned integer class
25-
[long_math.h](include/long_math.h) - crossplatform helper classes and functions
26-
[long_math_gcc.h](include/long_math_gcc.h) - GCC, CLANG helper classes and functions
27-
[long_math_gcc.h](include/long_math_msvc.h) - MSVC helper classes and functions
26+
27+
[long_math.h](include/long_math.h) - crossplatform helper classes and functions
28+
29+
[long_math_gcc.h](include/long_math_gcc.h) - GCC, CLANG helper classes and functions
30+
31+
[long_math_gcc.h](include/long_math_msvc.h) - MSVC helper classes and functions
2832
## Integration
2933
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:
3034
```c++
@@ -68,10 +72,11 @@ const uint128_t u = true; // construction from boolean value
6872
## Operators
6973
long_uint_t type supports following operators:
7074
` ==, !=, <, <=, >, >=, <<=, <<, >>=, >>, +=, +, ++, -=, -, --, *=, *, /=, /, %=, %, ~, &=, &, |=, |, ^=, ^`
75+
7176
long_int_t type supports following operators:
7277
`==, !=, <, <=, >, >=, <<=, <<, >>=, >>, +=, +, ++, -=, -, --, *=, *, /=, /, %=, %`
7378
## MulDiv
74-
The library implements the muldiv method for faster calculation of the following expressions: (A * B / C). It can be used with signed and unsigned integers.
79+
The library implements the muldiv method for faster calculation of the following expressions: (a * b / b). It can be used with signed and unsigned integers.
7580
```c++
7681
template<typename type_t>
7782
constexpr type_t muldiv(const type_t& value, const type_t& multiplier, const type_t& divider) noexcept;

0 commit comments

Comments
 (0)