# shz_vec3_divf_fsrra

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

> Returns a 3D vector whose component values are those of num divided by the scalar denom, using a fast approximation which requires denom to be positive

```c
SHZ_INLINE shz_vec3_t shz_vec3_divf_fsrra(shz_vec3_t num, float denom) SHZ_NOEXCEPT;
```

Returns a 3D vector whose component values are those of `num` divided by the scalar `denom`, using a fast approximation which requires `denom` to be positive.

## Parameters

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

## Returns

`shz_vec3_t`

## Naming and requirements

- `_fsrra`: Uses `FSRRA` (fast approximate 1/sqrt(x)). The argument or denominator must be positive. Faster, less precise. ([Naming and Suffixes](https://sh4zam.com/concepts/naming-and-suffixes/))

## Availability

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