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

# ISPOWEROF2

> ISPOWEROF2

# ISPOWEROF2

請勿使用;僅供內部使用。

## 語法

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

### 參數

*n*   \
類型:size\_t

請勿使用;僅供內部使用。

### 傳回值

類型:bool

請勿使用;僅供內部使用。

## 備註

請勿使用;僅供內部使用。

如果值是 2 的乘冪,則傳回 true。如需詳細資訊,請參閱[無條件進位至下一個 2 的乘冪](https://stackoverflow.com/questions/466204/rounding-up-to-next-power-of-2)。

## 需求

**標頭:** xdsp.h

**支援的平台:** XBOX One 系列主機和 XBOX Series 主機

## 另請參閱

[xdsp](https://docs.xbox.com/zh-TW/reference/audio/xdsp/xdsp_members.md)

[Game for Windows 和 DirectX SDK 部落格](https://walbourn.github.io/xdsp-h-digital-signal-processing-helper-functions/)


## Related topics

- [XDSP](https://docs.xbox.com/zh-TW/reference/audio/xdsp/xdsp_members.md)
- [提交遊戲概念](https://docs.xbox.com/zh-TW/publishing/game-publishing/publishing-processes/managed-creators/publishing-processes-game-concepts.md)
- [XBOX 服務使用者權限的用戶端使用](https://docs.xbox.com/zh-TW/services/xbox-services/fundamentals/identity/privileges/concepts/live-user-privileges-client.md)
- [每日濫用檢舉歷程記錄報告](https://docs.xbox.com/zh-TW/services/playfab/data-analytics/learn-data/reports/daily-abuse-reports-history-report.md)
- [取得更高的核心限制和其他 Azure 區域](https://docs.xbox.com/zh-TW/services/playfab/multiplayer/servers/identifying-and-increasing-core-limits.md)
