# shz_divf

Source: https://sh4zam.com/api/scalar/shz_divf/

> Divides num by denom using a slightly faster approximation, allowing denom to be negative

```c
SHZ_INLINE float shz_divf(float num, float denom) SHZ_NOEXCEPT;
```

Divides `num` by `denom` using a slightly faster approximation, allowing `denom` to be negative.

## Parameters

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

## Returns

`float`

## Availability

- **C++ equivalent:** [`shz::divf`](https://sh4zam.com/api/cpp/#shzdivf)
- **Type-generic form:** none
- **Back-ends:** SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- **Defined in:** [`sh4zam/shz_scalar.h:298`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_scalar.h#L298)
- **Module:** [Scalar](https://sh4zam.com/api/scalar/), section "FSRRA"
