# heliaCORE.Select

## arm_select_v2_f32

`function` · `c`

```c
arm_cmsis_nn_status arm_select_v2_f32(
    const bool *condition,
    const float32_t *x,
    const float32_t *y,
    const cmsis_nn_select_v2_params *params,
    float32_t *output
)
```

Copy selected FP32 storage bits, preserving signed zero, subnormals and NaN payloads.

:::note
Output and addressed input byte counts must fit INT32_MAX. Caller provides the addressed storage. No scratch.

:::

**Parameters**

| Name | Type | Direction | Description |
| --- | --- | --- | --- |
| condition | const bool * | in | Boolean mask. |
| x | const float32_t * | in | Payload selected when the mask is true. |
| y | const float32_t * | in | Payload selected when the mask is false. |
| params | const cmsis_nn_select_v2_params * | in | Rank 1..8, positive output extents and nonnegative element strides. Zero strides broadcast. |
| output | float32_t * | out | Contiguous result disjoint from the condition, payloads, params, shape and stride arrays. |

**Returns**

| Name | Type | Description |
| --- | --- | --- |
|  |  | ARM_CMSIS_NN_SUCCESS or ARM_CMSIS_NN_ARG_ERROR. |

Source: `Include/arm_nnfunctions_flt.h:120`
