# shz_crealf

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

```c
SHZ_INLINE float shz_crealf(shz_complex_t c) SHZ_NOEXCEPT;
```

Returns the real component of a complex number.

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `c` | `shz_complex_t` |  |

## Returns

`float`

## Availability

- **C++ equivalent:** [`shz::crealf`](https://sh4zam.com/api/cpp/#shzcrealf)
- **Type-generic form:** none
- **Back-ends:** SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- **Defined in:** [`sh4zam/shz_complex.h:70`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_complex.h#L70)
- **Module:** [Complex](https://sh4zam.com/api/complex/), section "Basic"
