function
round_half_down
round_half_down[type: DType, simd_width: Int](x: SIMD[type, simd_width]) -> SIMD[$0, $1]
Rounds ties towards the smaller integer".
Parameters:
- type (
DType
): Thedtype
of the input and output SIMD vector. - simd_width (
Int
): The width of the input and output SIMD vector.
Args:
- x (
SIMD[type, simd_width]
): SIMD vector to perform rounding on.
Returns:
The elementwise rounding of x evaluating ties towards the smaller integer.