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

Definition of `widemul` in the package

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
12/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
julia
領域
backend

調査の方向性

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 の本文から書いたものです。

説明

enhancement needs comments

This is how multiplication of fractional values works in binary numbers:

  • multiplying two numbers with i1 and i2 (possibly leading zeros, possibly sign-including) integer bits, the result will have at most i1 + i2 integer bits.
  • multiplying two numbers with f1 and f2 (possibly trailing zeros) fractional digits, the result will have at most f1 + f2 fractional 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

環境構築

はじめの一歩

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

JuliaMath/FixedPointNumbers.jl のほかの issue

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

似ている issue

Julia の issue をもっと見る

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

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