summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/util/integer_cln_imp.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/util/integer_cln_imp.h b/src/util/integer_cln_imp.h
index c48e93d57..78b775bee 100644
--- a/src/util/integer_cln_imp.h
+++ b/src/util/integer_cln_imp.h
@@ -222,10 +222,10 @@ public:
}
Integer bitwiseNot() const {
- return Integer(cln::lognot(d_value));
+ return Integer(cln::lognot(d_value));
}
-
-
+
+
/**
* Return this*(2^pow).
*/
@@ -239,15 +239,15 @@ public:
cln::cl_byte range(amount, size);
cln::cl_I allones = (cln::cl_I(1) << (size + amount))- 1; // 2^size - 1
Integer temp(allones);
-
- return Integer(cln::deposit_field(allones, d_value, range));
+
+ return Integer(cln::deposit_field(allones, d_value, range));
}
-
+
uint32_t toUnsignedInt() const {
- return cln::cl_I_to_uint(d_value);
+ return cln::cl_I_to_uint(d_value);
}
-
-
+
+
/** See CLN Documentation. */
Integer extractBitRange(uint32_t bitCount, uint32_t low) const {
cln::cl_byte range(bitCount, low);
@@ -304,9 +304,9 @@ public:
}
Integer divByPow2(uint32_t exp) const {
- return d_value >> exp;
+ return d_value >> exp;
}
-
+
/**
* Raise this Integer to the power <code>exp</code>.
*
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback