Skip to main content

Mojo function

min_or_neg_inf

min_or_neg_inf[type: DType]() -> SIMD[$0, 1]

Returns the minimum (potentially negative infinite) value of type.

Parameters:

  • type (DType): The value dtype.

Returns:

The minimum representable value of the type. Can include negative infinity for floating-point types.