# shz_cdivf

Source: https://sh4zam.com/api/complex/shz_cdivf/

> Divides lhs by rhs, returning the complex result

```c
SHZ_INLINE shz_complex_t shz_cdivf(shz_complex_t lhs, shz_complex_t rhs) SHZ_NOEXCEPT;
```

Divides `lhs` by `rhs`, returning the complex result.

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `lhs` | `shz_complex_t` |  |
| `rhs` | `shz_complex_t` |  |

## Returns

`shz_complex_t`

## Availability

- **C++ equivalent:** [`shz::cdivf`](https://sh4zam.com/api/cpp/#shzcdivf), [`shz::complex::operator/=`](https://sh4zam.com/api/cpp/complex/), [`shz::operator/`](https://sh4zam.com/api/cpp/#shzoperator/)
- **Type-generic form:** none
- **Back-ends:** SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- **Defined in:** [`sh4zam/shz_complex.h:92`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_complex.h#L92)
- **Module:** [Complex](https://sh4zam.com/api/complex/), section "Arithmetic"
