vsip_scalar_f vsip_real_f(vsip_cscalar_f x);
This function extracts the real part of the complex scalar x.
vsip_cscalar_f x: The complex scalar from which to extract the real part.
The real part of the complex scalar.
vsip_cscalar_f complex_value = {1.0, 2.0}; vsip_scalar_f real_part; real_part = vsip_real_f(complex_value);