Skip to main content

## _mm256_getexp_ph

# Function _mm256_getexp_ph

1.94.0 · Source

    pub fn _mm256_getexp_ph(a: __m256h) -> __m256h

Available on x86-64 and target feature `avx512fp16` and target feature `avx512vl` only.
Expand description

Convert the exponent of each packed half-precision (16-bit) floating-point element in a to a half-precision (16-bit) floating-point number representing the integer exponent, and store the results in dst. This intrinsic essentially calculates `floor(log2(x))` for each element.

Intel’s documentation