pub fn max_value(ty: impl IntoArg<PrimType>) -> Result<PrimExpr>
Create the largest value of the scalar type ty.
ty
Returns an InternalError if ty is a vector or has no largest value.
InternalError