# shz_opaquef

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

> Returns value unchanged, hidden from the optimizer

```c
SHZ_INLINE float shz_opaquef(float value) SHZ_NOEXCEPT;
```

Returns `value` unchanged, hidden from the optimizer.

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `value` | `float` |  |

## Returns

`float`

## Details

Emits no instructions, but prevents the compiler from reassociating across `value` or substituting it with a known equivalent, which can be used to influence instruction scheduling.

## Availability

- **C++ equivalent:** [`shz::opaquef`](https://sh4zam.com/api/cpp/#shzopaquef)
- **Type-generic form:** none
- **Back-ends:** SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
- **Defined in:** [`sh4zam/shz_scalar.h:210`](https://github.com/gyrovorbis/sh4zam/blob/6b22b851ad9ca109049f956dbbbecf7c519c959f/include/sh4zam/shz_scalar.h#L210)
- **Module:** [Scalar](https://sh4zam.com/api/scalar/), section "Miscellaneous"
