mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-06-30 00:56:24 +08:00
clang-format and clang-tidy fixes for 2c41f111
This commit is contained in:
@@ -198,7 +198,7 @@ class uint256_t {
|
||||
*/
|
||||
inline uint256_t operator+(const uint256_t &p) {
|
||||
bool app = (s + p.s < s);
|
||||
return uint256_t(f + p.f + app, p.s + s);
|
||||
return {f + p.f + app, p.s + s};
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -266,7 +266,7 @@ class uint256_t {
|
||||
*/
|
||||
inline uint256_t operator-(const uint256_t &p) {
|
||||
bool app = p.s > s;
|
||||
return uint256_t(f - p.f - app, s - p.s);
|
||||
return {f - p.f - app, s - p.s};
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user