Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Floating-Point Vector Classes

The floating-point vector classes, F64vec2, F32vec4, and F32vec1, provide an interface to SIMD operations. The class specifications are as follows:

  • F64vec2 A(double x, double y);
  • F32vec4 A(float z, float y, float x, float w);
  • F32vec1 B(float w);

The packed floating-point input values are represented with the right-most value lowest as shown in the following table.

Single-Precision Floating-Point Elements