> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ISPOWEROF2

> ISPOWEROF2

# ISPOWEROF2

Don't use; internal use only.

## Syntax

```cpp theme={null}
bool ISPOWEROF2(  
         size_t n  
)  
```

### Parameters

*n*   \
Type: size\_t

Don't use; internal use only.

### Return value

Type: bool

Don't use; internal use only.

## Remarks

Don't use; internal use only.

Returns true if a value is a power of 2. For more information, see [Rounding up to the next power of 2](https://stackoverflow.com/questions/466204/rounding-up-to-next-power-of-2).

## Requirements

**Header:** xdsp.h

**Supported platforms:** XBOX One family consoles and XBOX Series consoles

## See also

[xdsp](/reference/audio/xdsp/xdsp_members)

[Game for Windows and the DirectX SDK blog](https://walbourn.github.io/xdsp-h-digital-signal-processing-helper-functions/)


## Related topics

- [Submit game concepts](/publishing/game-publishing/publishing-processes/managed-creators/publishing-processes-game-concepts.md)
- [Client-side use of XBOX services user privileges](/services/xbox-services/fundamentals/identity/privileges/concepts/live-user-privileges-client.md)
- [Daily Abuse Reports History Report](/services/playfab/data-analytics/learn-data/reports/daily-abuse-reports-history-report.md)
- [Accessing increased core limits and additional Azure regions](/services/playfab/multiplayer/servers/identifying-and-increasing-core-limits.md)
- [PFMultiplayerServerAzureVmSize](/services/playfab/api-references/c/pfmultiplayerservertypes/enums/pfmultiplayerserverazurevmsize.md)
