function
nan
nan[type: DType]() -> SIMD[$0, 1]
Gets a NaN value for the given dtype.
Parameters:
- type (
DType
): The value dtype. Constraints: must be a floating-point type.
Returns:
The NaN value of the given dtype.
function
nan[type: DType]() -> SIMD[$0, 1]
Gets a NaN value for the given dtype.
Parameters:
DType
): The value dtype. Constraints: must be a floating-point type.Returns:
The NaN value of the given dtype.