fix a bug in udivmoddi4
This commit is contained in:
parent
5581cc40af
commit
f7864eb3cd
1 changed files with 1 additions and 1 deletions
|
|
@ -186,8 +186,8 @@ pub extern "C" fn __udivmoddi4(n: u64, d: u64, rem: Option<&mut u64>) -> u64 {
|
|||
if sr > u32::bits() - 1 {
|
||||
if let Some(rem) = rem {
|
||||
*rem = n;
|
||||
return 0;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
sr += 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue