Skip to main content

vec_convert_to_fp16

Function vec_convert_to_fp16 

Source
pub unsafe fn vec_convert_to_fp16<const B: i32>(
    a: vector_signed_short,
) -> 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 vector a to the 16-bit IEEE floating point format. The format of the source vector elements is specified by B.