Mojo function
max_finite
max_finite[type: DType]() -> SIMD[$0, 1]
Returns the maximum finite value of type.
Parameters:
- type (
DType
): The value dtype.
Returns:
The maximum representable value of the type. Does not include infinity for floating-point types.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
😔 What went wrong?