vec_extract_exp
Purpose
Returns a vector that contains the exponent of the given vector.
This built-in function is valid only when -qarch(-mcpu) is set to utilize the POWER9™ technology and the altivec.h file is included.
Syntax
d=vec_extract_exp(a)
Result and argument types
The following table describes the types of the returned value and the function arguments.
d | a |
---|---|
vector unsigned int | vector float |
vector unsigned long long | vector double |
Result value
Each element of the result is extracted from the exponent field of the corresponding element of a.
Note: The
extracted exponent of a is
treated as a biased exponent in accordance with the format specified
by IEEE Standard for Binary Floating-Point Arithmetic, IEEE Std.
754, without further processing.