alloy-rs / alloy-rs/ruint

`algorithms/gcd/matrix`: Improve

Đang mở
#139 0 bình luận 0 reaction 1 người được giao Được @recmo nhận Xem trên GitHub
refactor tracker
Ngôn ngữ chính
Rust
Star
225
Fork
70
Merge trung bình
16 giờ 54 phút
Pull request đã merge (30 ngày)
8

Mô tả

*On 2022-06-11 @recmo wrote in [`e80cbc5`](https://github.com/recmo/uint/commit/e80cbc559c54ff9cba55e24129faf23e89933ee8) “Merge pull request #136 from recmo/small-devex”:*

Improve

```rust
///
/// Panics if `a0` does not have the highest bit set.
/// Panics if `a0 < a1`.
#[must_use]
#[allow(clippy::redundant_else)]
#[allow(clippy::cognitive_complexity)] // REFACTOR: Improve
pub fn from_u64_prefix(a0: u64, mut a1: u64) -> Self {
const LIMIT: u64 = 1_u64 << 32;
debug_assert!(a0 >= 1_u64 << 63);
debug_assert!(a0 >= a1);

```
*From [`src/algorithms/gcd/matrix.rs:167`](https://github.com/recmo/uint/blob/e80cbc559c54ff9cba55e24129faf23e89933ee8/src/algorithms/gcd/matrix.rs#L167)*

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.