許容値の入力の確認から重なった部分を除く
このコミットが含まれているのは:
1ファイル変更
+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));
|
||||
}
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする