Skip to main content

edge_values

Function edge_values 

Source
pub fn edge_values(dtype: DType) -> HostArray
Expand description

Returns values at the edges of a type: NaN, infinities, signed zeros, and halfway cases for floats; the extremes, -1, 0, and 1 for integers.

For complex types, pairs of such values for the real and imaginary parts.