Moved shared operators to template files
このコミットが含まれているのは:
1 親
e49d42abb1
コミット
c0bc242c7a
26ファイル変更
+510
-390
検索条件に一致するファイルはありません
@@ -145,39 +145,5 @@ namespace ComputeSharp
|
||||
/// </summary>
|
||||
/// <param name="xyzw">The input <see cref="Int4"/> value to cast.</param>
|
||||
public static implicit operator Double4(Int4 xyzw) => throw new InvalidExecutionContextException($"{nameof(Int4)}.({nameof(Double4)})");
|
||||
|
||||
/// <summary>
|
||||
/// Negates a <see cref="Int4"/> value.
|
||||
/// </summary>
|
||||
/// <param name="xyzw">The <see cref="Int4"/> value to negate.</param>
|
||||
public static Int4 operator -(Int4 xyzw) => throw new InvalidExecutionContextException($"{nameof(Int4)}.-");
|
||||
|
||||
/// <summary>
|
||||
/// Sums two <see cref="Int4"/> values.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Int4"/> value to sum.</param>
|
||||
/// <param name="right">The second <see cref="Int4"/> value to sum.</param>
|
||||
public static Int4 operator +(Int4 left, Int4 right) => throw new InvalidExecutionContextException($"{nameof(Int4)}.+");
|
||||
|
||||
/// <summary>
|
||||
/// Divides two <see cref="Int4"/> values.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Int4"/> value to divide.</param>
|
||||
/// <param name="right">The second <see cref="Int4"/> value to divide.</param>
|
||||
public static Int4 operator /(Int4 left, Int4 right) => throw new InvalidExecutionContextException($"{nameof(Int4)}./");
|
||||
|
||||
/// <summary>
|
||||
/// Multiplies two <see cref="Int4"/> values.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Int4"/> value to multiply.</param>
|
||||
/// <param name="right">The second <see cref="Int4"/> value to multiply.</param>
|
||||
public static Int4 operator *(Int4 left, Int4 right) => throw new InvalidExecutionContextException($"{nameof(Int4)}.*");
|
||||
|
||||
/// <summary>
|
||||
/// Subtracts two <see cref="Int4"/> values.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="Int4"/> value to subtract.</param>
|
||||
/// <param name="right">The second <see cref="Int4"/> value to subtract.</param>
|
||||
public static Int4 operator -(Int4 left, Int4 right) => throw new InvalidExecutionContextException($"{nameof(Int4)}.-");
|
||||
}
|
||||
}
|
||||
新しいイシューから参照
ユーザーをブロックする