function
ceil
ceil[type: DType, simd_width: Int](x: SIMD[type, simd_width]) -> SIMD[$0, $1]
Performs elementwise ceiling on the elements of a SIMD vector.
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 ceiling on.
Returns:
The elementwise ceiling of x.