We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24b95f5 commit ab26fe8Copy full SHA for ab26fe8
1 file changed
source/mir/bignum/integer.d
@@ -50,6 +50,7 @@ struct BigInt(uint maxSize64)
50
else
51
static if (data.length == 2)
52
{
53
+ sign = false;
54
this.data[0] = data[0];
55
this.data[1] = data[1];
56
this.length = data[1] ? 2 : data[0] != 0;
@@ -267,7 +268,7 @@ struct BigInt(uint maxSize64)
267
268
///
269
BigIntView!size_t view()() scope return @property
270
- return typeof(return)(this.data[0 .. this.length], this.sign);
271
+ return typeof(return)(this.data[0 .. this.length], this.sign);
272
}
273
274
0 commit comments