We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf4bbfa commit daee326Copy full SHA for daee326
1 file changed
source/mir/bignum/integer.d
@@ -510,8 +510,10 @@ struct BigInt(uint maxSize64)
510
511
pragma(inline, false);
512
513
- if (divisor.length == 0 || divisor.coefficients[$ - 1] == 0)
514
- assert(0, "Zero or denormalized BigInt divizor");
+ if (divisor.length == 0)
+ assert(0, "Zero BigInt divizor");
515
+ if (divisor.coefficients[$ - 1] == 0)
516
+ assert(0, "Denormalized BigInt divizor");
517
518
if (this.length < divisor.length)
519
{
0 commit comments