`modular`: dani): check if this is worth special casing over just using
- Dominant language
- Rust
- Stars
- 225
- Forks
- 70
- Avg merge
- 16h 54m
- Merged PRs (30d)
- 8
Description
*On 2025-08-04 @prestwich wrote in [`25e81ad`](https://github.com/recmo/uint/commit/25e81ad8c6732624ce92e7d12800715e78df726c) “Merge pull request #506 from DaniPopes/release-1.16.0”:*
dani): check if this is worth special casing over just using
div_rem_double_bits
```rust
}
}
#[inline(never)]
fn div_rem_bits_plus_one(numerator: *mut u64, modulus: &mut Self) {
// TODO(dani): check if this is worth special casing over just using
// div_rem_double_bits
let numerator = unsafe { core::slice::from_raw_parts_mut(numerator, LIMBS + 1) };
algorithms::div::div_inlined(numerator, &mut modulus.limbs);
}
/// Compute $\mod{\mathtt{self} ⋅ \mathtt{rhs}}_{\mathtt{modulus}}$.
```
*From [`src/modular.rs:75`](https://github.com/recmo/uint/blob/25e81ad8c6732624ce92e7d12800715e78df726c/src/modular.rs#L75)*
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.