Skip to main content

vec_round_from_fp32

Function vec_round_from_fp32 

Source
pub unsafe fn vec_round_from_fp32<const C: i32>(
    a: vector_float,
    b: vector_float,
) -> vector_signed_short
🔬This is a nightly-only experimental API. (stdarch_s390x #135681)
Available on s390x and target feature nnp-assist only.
Expand description

Converts the elements of single-precision vectors a and b to an internal floating point format with 16-bit sized elements. The format of the target vector elements is specified by C.