diff options
Diffstat (limited to 'src/lib/utils/donna128.h')
-rw-r--r-- | src/lib/utils/donna128.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/utils/donna128.h b/src/lib/utils/donna128.h index feaf11d05..90ced395d 100644 --- a/src/lib/utils/donna128.h +++ b/src/lib/utils/donna128.h @@ -89,6 +89,11 @@ inline donna128 operator*(const donna128& x, uint64_t y) return donna128(lo, hi); } +inline donna128 operator*(uint64_t y, const donna128& x) + { + return x * y; + } + inline donna128 operator+(const donna128& x, const donna128& y) { donna128 z = x; |