change: change code style to Linux style except indent.

This commit is contained in:
Mike Solar
2025-08-03 03:09:40 +08:00
parent 65ab76edc8
commit 74f73ab3be
789 changed files with 77113 additions and 68888 deletions
+10 -9
View File
@@ -23,21 +23,22 @@
#include <stdint.h>
namespace olive {
namespace olive
{
inline int64_t GetDigitCount(int64_t input)
{
input = std::abs(input);
input = std::abs(input);
int64_t lim = 10;
int64_t digit = 1;
int64_t lim = 10;
int64_t digit = 1;
while (input >= lim) {
lim *= 10;
digit++;
}
while (input >= lim) {
lim *= 10;
digit++;
}
return digit;
return digit;
}
}