vec_convert_to_fp16 in core::arch::s390x - Rust
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`.

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 non-`target_abi=softfloat` 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`.