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

MathUtils.h: header functions should be replaced with definitions from half.h

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

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
35/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
cpp
領域
backend

調査の方向性

まず MathUtils.h の GetHalfMax、GetHalfMin、GetHalfNormMin ヘルパー、それらの MathUtils.cpp での使用箇所、および half.h の対応する定義を調査します。ヘルパーを削除するか MathUtils.cpp に移動できることを確認し、その後、数値の上限・下限が half.h に由来していることと、既存のテストが引き続きパスすることを確認します。

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

説明

help wanted

In MathUtils.h there are some helper functions that provide hard coded numbers for some of the half data format numeric limits:

GetHalfMax, GetHalfMin, GetHalfNormMin

These should be replaced with definitions pulled from half.h

As they also appear to not be either unused or only used by MathUtils.cpp I would propose they be first removed/migrated into that translation unit and then replaced.

主要言語
C++
スター
2.1k
フォーク
502
平均マージ
6日 3時間
マージ済み PR(30日)
6

環境構築

はじめの一歩

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

AcademySoftwareFoundation/OpenColorIO のほかの issue

AcademySoftwareFoundation/OpenColorIO の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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