Skip to main content

infinity

Function infinity 

Source
pub fn infinity(ty: impl IntoArg<PrimType>) -> Result<PrimExpr>
Expand description

Create the positive infinity of the scalar float16, float32 or float64 type ty.

ยงErrors

Returns an InternalError if ty is a vector or not one of those types.