alloy-rs / alloy-rs/ruint

`algorithms/gcd/matrix`: Improve

オープン
#139 コメント 0 件 リアクション 0 件 担当者 1 名 @recmo が担当を希望しています GitHub で見る
refactor tracker
主要言語
Rust
スター
225
フォーク
70
平均マージ
16時間 54分
マージ済み PR(30日)
8

説明

*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)*

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。