aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/donna128.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-01-06 17:30:01 -0500
committerJack Lloyd <[email protected]>2018-01-06 17:30:01 -0500
commitd6dae3f5f48605f102e9482a44ede89bb77568d1 (patch)
treea617eddbe477da8cc478beb70ae8ddaa0c8bd457 /src/lib/utils/donna128.h
parent6af53b3f668bd82bbf454703c0e15590c447254c (diff)
Reformat donna.cpp
Was originally kept in the same format as upstream, but upstream is not maintained anymore so no reason to stick with it.
Diffstat (limited to 'src/lib/utils/donna128.h')
-rw-r--r--src/lib/utils/donna128.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/utils/donna128.h b/src/lib/utils/donna128.h
index 53e0a085b..feaf11d05 100644
--- a/src/lib/utils/donna128.h
+++ b/src/lib/utils/donna128.h
@@ -114,7 +114,7 @@ inline uint64_t carry_shift(const donna128& a, size_t shift)
}
inline uint64_t combine_lower(const donna128& a, size_t s1,
- const donna128& b, size_t s2)
+ const donna128& b, size_t s2)
{
donna128 z = (a >> s1) | (b << s2);
return z.lo();
@@ -127,7 +127,7 @@ inline uint64_t carry_shift(const uint128_t a, size_t shift)
}
inline uint64_t combine_lower(const uint128_t a, size_t s1,
- const uint128_t b, size_t s2)
+ const uint128_t b, size_t s2)
{
return static_cast<uint64_t>((a >> s1) | (b << s2));
}