# _mm256_set1_ps

Initializes 256-bit vector with scalar single-precision floating point values. No corresponding Intel® AVX instruction.

## Syntax

extern __m256 _mm256_set1_ps(float);

## Arguments

float | a float32 value to be initialized into the 256-bit vector; there is one float parameter to initialize each float32 vector element

## Description

Initializes a 256-bit vector with scalar single-precision floating point values (float32 values) as specified by the float parameter.

## Returns

A float32 vector with all elements set to the specified scalar single-precision floating point value.

Parent topic: Intrinsics for Miscellaneous Operations