aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/int128/int128.cpp
diff options
context:
space:
mode:
authorermolovd <ermolovd@yandex-team.ru>2022-02-10 16:47:53 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:53 +0300
commit2a4a975b112fa0fa138abc7457fe67e0e1e7fd02 (patch)
treec0748b5dcbade83af788c0abfa89c0383d6b779c /library/cpp/int128/int128.cpp
parentb91bcef7c99a119b0846479ef71bfab4beec72ca (diff)
downloadydb-2a4a975b112fa0fa138abc7457fe67e0e1e7fd02.tar.gz
Restoring authorship annotation for <ermolovd@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/int128/int128.cpp')
-rw-r--r--library/cpp/int128/int128.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/library/cpp/int128/int128.cpp b/library/cpp/int128/int128.cpp
index d81204f0b4..a28a389fe8 100644
--- a/library/cpp/int128/int128.cpp
+++ b/library/cpp/int128/int128.cpp
@@ -50,13 +50,13 @@ void TSerializer<ui128>::Load(IInputStream* in, ui128& Number) {
::Load(in, Low);
Number = ui128(High, Low);
}
-
-IOutputStream& operator<<(IOutputStream& out, const i128& other)
-{
- if (other >= 0) {
- out << ui128{other};
- } else {
- out << '-' << ui128{-other};
- }
- return out;
-}
+
+IOutputStream& operator<<(IOutputStream& out, const i128& other)
+{
+ if (other >= 0) {
+ out << ui128{other};
+ } else {
+ out << '-' << ui128{-other};
+ }
+ return out;
+}