Contents

Single-precision floating-point vectors

Perform operations on vectors that contain single-precision floating-point elements.

Overview

The simd library provides many functions in this group, in three variants:

The precise variants are accurate to a few units in the last place (ULPs). The fast variants provide greater speed but may have as little as 11 bits of accuracy for single-precision functions.

The compiler flag defines the behavior of the default variant. Ordinarily, the compiler resolves the default variants to their precise counterparts. Set the -ffast-math compiler flag to specify that the default variants of the functions resolve to the fast variants.

Topics

Vector data types

Packed vector data types

See Also

Floating-Point Vectors