ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:npo2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

functions:npo2 [2017/03/15 11:10] – created korshunfunctions:npo2 [2017/04/15 17:30] (current) korshun
Line 6: Line 6:
  
 ===== Description ===== ===== Description =====
-Returns x rounded up to the the Next Power Of 2. +Returns x rounded up to the the Next Power Of 2. The input must be positive.
- +
-The input must be positive.+
  
 If x is a power of 2, x is unchanged. If x is a power of 2, x is unchanged.
functions/npo2.txt · Last modified: 2017/04/15 17:30 by korshun