Definition of `widemul` in the package
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
The issue asks for a type-safe definition of the result type of widemul for fixed-point numbers, with integer bits i1 + i2 and fractional bits f1 + f2. Start by reading the two comments on the issue, since the design is still being discussed and no decision is recorded. Work here needs a maintainer decision on the definition before any code change, so it is not a good first contribution.
索引モデルが issue の本文から書いたものです。
説明
This is how multiplication of fractional values works in binary numbers:
- multiplying two numbers with
i1andi2(possibly leading zeros, possibly sign-including) integer bits, the result will have at mosti1 + i2integer bits. - multiplying two numbers with
f1andf2(possibly trailing zeros) fractional digits, the result will have at mostf1 + f2fractional bits.
So the only general, type-safe definition (independent of the values) which is aligned to "doubling the number of bits from Base" is the definition of the result type to have i1 + i2 integer bits and f1 + f2 fractional bits.
- 主要言語
- Julia
- スター
- 95
- フォーク
- 38
- 平均マージ
- 17時間 14分
- マージ済み PR(30日)
- 11
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
JuliaMath/FixedPointNumbers.jl のほかの issue
-
bug
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
JuliaMath/FixedPointNumbers.jl#343 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
JuliaMath/FixedPointNumbers.jl#342 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
JuliaMath/FixedPointNumbers.jl#337 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 42/100
JuliaMath/FixedPointNumbers.jl#331 · コメント 9 件 ·
メンテナーはふだん 1 日以内に返信
-
add-on enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
JuliaMath/FixedPointNumbers.jl#311 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
JuliaMath/FixedPointNumbers.jl の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
JuliaPy/CondaPkg.jl#232 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
SciML/PETScDiffEq.jl#196 ·
メンテナーはふだん 1 日以内に返信
-
Two jump tests solve a different problem than the one they build対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 84/100
SciML/Catalyst.jl#1571 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100