許容値の入力の確認から重なった部分を除く

このコミットが含まれているのは:
routersys committed 2026-10-02 13:18:57 +09:00
1 親 83778b19e1
コミット f382cb2c9d
1ファイル変更
+2 -2
+2 -2
ファイルの表示
@@ -4,12 +4,12 @@ internal readonly record struct ComputeTolerance
{
public ComputeTolerance(double ulps, double scale, int flushedOperations)
{
if (!double.IsFinite(ulps) || ulps < 0d)
if (ulps < 0d)
{
throw new ArgumentOutOfRangeException(nameof(ulps));
}
if (!double.IsFinite(scale) || scale < 0d)
if (scale < 0d)
{
throw new ArgumentOutOfRangeException(nameof(scale));
}