You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it should be possible to have a function with the signature arb_urem_(duo: &mut Self, div: &Self, pad: &mut Self) -> Option<()>, the way it works in the general case is copying duo to pad, performing digit_udivide_inplace_ with it and the most significant digit bits of div plus 1, then using pad again as a temporary in a subtract-multiply step against duo, then repeating the whole process in a loop. There are probably edge cases when it gets close to the end, or maybe we can simply dd_divide that stuff.
The text was updated successfully, but these errors were encountered:
I think it should be possible to have a function with the signature
arb_urem_(duo: &mut Self, div: &Self, pad: &mut Self) -> Option<()>
, the way it works in the general case is copyingduo
topad
, performingdigit_udivide_inplace_
with it and the most significant digit bits ofdiv
plus 1, then usingpad
again as a temporary in a subtract-multiply step againstduo
, then repeating the whole process in a loop. There are probably edge cases when it gets close to the end, or maybe we can simply dd_divide that stuff.The text was updated successfully, but these errors were encountered: