Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[RFC] Orthogonality between signed/unsigned and `Fixed`/`Normed`

オープン
#199 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
julia
領域
documentation

調査の方向性

まず README.md と CONTRIBUTING.md を、src/FixedPointNumbers.jl、fixed.jl、normed.jl と併せて読み、現在のガイダンスとコードの分割を理解してください。符号付きかどうかとスケーリングの将来的な関係の可能性を文書化し、共通ファイルまたは型固有のファイルのどちらにどのコードを置くべきかを明確にすれば完了です。

索引モデルが issue の本文から書いたものです。

説明

doc

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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

JuliaMath/FixedPointNumbers.jl のほかの issue

JuliaMath/FixedPointNumbers.jl の issue をすべて見る

似ている issue

Julia の issue をもっと見る

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

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