# shz_vec4_divf

Source: https://sh4zam.com/api/vector/shz_vec4_divf/

> Returns a 4D vector whose component values are those of num divided by the scalar denom

```c
SHZ_INLINE shz_vec4_t shz_vec4_divf(shz_vec4_t num, float denom) SHZ_NOEXCEPT;
```

Returns a 4D vector whose component values are those of `num` divided by the scalar `denom`.

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `num` | `shz_vec4_t` |  |
| `denom` | `float` |  |

## Returns

`shz_vec4_t`

## Availability

- **C++ equivalent:** [`shz::vec4::divf`](https://sh4zam.com/api/cpp/vec4/#divf)
- **Type-generic form:** [`shz_vec_divf()`](https://sh4zam.com/api/vector/shz_vec_divf/)
- **Back-ends:** SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- **Defined in:** [`sh4zam/shz_vector.h:442`](https://github.com/gyrovorbis/sh4zam/blob/6b22b851ad9ca109049f956dbbbecf7c519c959f/include/sh4zam/shz_vector.h#L442)
- **Module:** [Vector](https://sh4zam.com/api/vector/), section "Arithmetic"
