---
title: Single-precision floating-point vectors
framework: accelerate
role: collectionGroup
role_heading: API Collection
path: accelerate/single-precision-floating-point-vectors
---

# Single-precision floating-point vectors

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

## Overview

Overview The simd library provides many functions in this group, in three variants: The default variant—for example, simd_rsqrt(_:) The precise variant—for example, simd_precise_rsqrt(_:) The fast variant—for example, simd_fast_rsqrt(_:) 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

- [simd_float1](simd/simd_float1.md)
- [simd_float2](simd/simd_float2.md)
- [simd_float3](simd/simd_float3.md)
- [simd_float4](simd/simd_float4.md)
- [simd_float8](simd/simd_float8.md)
- [simd_float16](simd/simd_float16.md)

### Packed vector data types

- [simd_packed_float2](simd/simd_packed_float2.md)
- [simd_packed_float4](simd/simd_packed_float4.md)
- [simd_packed_float8](simd/simd_packed_float8.md)
- [simd_packed_float16](simd/simd_packed_float16.md)

## See Also

### Floating-Point Vectors

- [Working with Vectors](accelerate/working-with-vectors.md)
- [Half-precision floating-point vectors](accelerate/half-precision-floating-point-vectors.md)
- [Double-precision floating-point vectors](accelerate/double-precision-floating-point-vectors.md)
