Skip to main content
Version: Nightly

max_finite

max_finite[dtype: DType]() -> Scalar[dtype]

Returns the maximum finite value of type.

Parameters:

  • dtype (DType): The value dtype.

Returns:

Scalar: The maximum representable value of the type. Does not include infinity for floating-point types.