mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:18:11 +00:00
AK: Fix compile error when using div_mod_internal<513, 256, true>
This commit is contained in:
parent
e785172290
commit
51fe8f820f
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ constexpr void div_mod_internal(
|
||||||
if (dividend_len < divisor_len) { // dividend < divisor
|
if (dividend_len < divisor_len) { // dividend < divisor
|
||||||
StorageOperations::set(0, quotient);
|
StorageOperations::set(0, quotient);
|
||||||
if constexpr (restore_remainder)
|
if constexpr (restore_remainder)
|
||||||
remainder = operand1;
|
StorageOperations::copy(operand1, remainder);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue