diff --git a/src/ComputeSharp.Core/Intrinsics/Hlsl.cs b/src/ComputeSharp.Core/Intrinsics/Hlsl.cs index 5b6a3592..50340f7d 100644 --- a/src/ComputeSharp.Core/Intrinsics/Hlsl.cs +++ b/src/ComputeSharp.Core/Intrinsics/Hlsl.cs @@ -1315,7 +1315,7 @@ namespace ComputeSharp /// The specified value /// Returns if the parameter is infinite, otherwise [Pure] - public static float IsInfinite(in float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(IsInfinite)}(float)"); + public static bool IsInfinite(in float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(IsInfinite)}(float)"); /// /// Determines if the specified floating-point value is @@ -1323,7 +1323,7 @@ namespace ComputeSharp /// The specified value /// Returns if the parameter is , otherwise [Pure] - public static float IsNaN(in float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(IsNaN)}(float)"); + public static bool IsNaN(in float x) => throw new InvalidExecutionContextException($"{nameof(Hlsl)}.{nameof(IsNaN)}(float)"); /// /// Returns the result of multiplying the specified value by two, raised to the power of the specified exponent