[RFC] Orthogonality between signed/unsigned and `Fixed`/`Normed`
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- julia
調査の方向性
まず README.md と CONTRIBUTING.md を、src/FixedPointNumbers.jl、fixed.jl、normed.jl と併せて読み、現在のガイダンスとコードの分割を理解してください。符号付きかどうかとスケーリングの将来的な関係の可能性を文書化し、共通ファイルまたは型固有のファイルのどちらにどのコードを置くべきかを明確にすれば完了です。
索引モデルが issue の本文から書いたものです。
説明
As commented in https://github.com/JuliaMath/FixedPointNumbers.jl/pull/143#issuecomment-559182211, Fixed/Normed (i.e. the difference in scaling factor) and signed/unsigned are orthogonal concepts.
| Type (scaling) | Fixed (2^f) |
Normed (2^f-1) |
|---|---|---|
| signed | ✔️ | ❌ N/A |
| unsigned | ❌ N/A | ✔️ |
Historically, Fixed is signed and Normed is unsigned, but I think we should separate the two orthogonal concepts as much as possible.
I do not intend to support unsigned Fixed and signed Normed right now. However, I think that it is "safe" to describe in README.md that they may be supported in the future, because we have no systematic way to notify the downstream packages of the breaking changes to the existing Fixed and Normed.
(Whether relaxing is considered "safe" or "unsafe" depends on the point of view.)
At least I think it is worth writing that in CONTRIBUTING.md. It clarifies whether the code should be written in "src/FixedPointNumbers.jl", "fixed.jl" or "normed.jl". I think that the code which is not related to scaling factors should be written in "src/FixedPointNumbers.jl", i.e. should be commonized.
- 主要言語
- Julia
- スター
- 95
- フォーク
- 38
- 平均マージ
- 19時間 44分
- マージ済み PR(30日)
- 12
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
JuliaMath/FixedPointNumbers.jl のほかの issue
-
enhancement needs comments
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
JuliaMath/FixedPointNumbers.jl#353 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
JuliaMath/FixedPointNumbers.jl#343 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
JuliaMath/FixedPointNumbers.jl#337 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 42/100
JuliaMath/FixedPointNumbers.jl#331 · コメント 10 件 ·
メンテナーはふだん 1 日以内に返信
-
add-on enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
JuliaMath/FixedPointNumbers.jl#311 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
JuliaMath/FixedPointNumbers.jl の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
oscar-system/GAP.jl#1455 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
JuliaAI/MLJTransforms.jl#85 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
SciML/OrdinaryDiffEq.jl#4875 ·
メンテナーはふだん 3 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
SciML/NonlinearSolve.jl#1372 ·
メンテナーはふだん 1 日以内に返信