JavaScript Required:
This documentation site requires JavaScript to function. Please enable JavaScript in your browser to view the navigation and search features.
🏠
🔄 Mod API
VRageMath.MathHelper
IsPowerOfTwo
Summary
public static bool IsPowerOfTwo(int x)
Returns true if value is power of two
Returns
bool
Parameters
int
x