Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRageMath.MathHelper.GetNearestBiggerPowerOfTwo

Malware edited this page Dec 25, 2018 · 16 revisions

IndexMathHelper

csharp[int](System.Int32) GetNearestBiggerPowerOfTwo([int](System.Int32) v)``````csharp[uint](System.UInt32) GetNearestBiggerPowerOfTwo([uint](System.UInt32) v)``````csharp[int](System.Int32) GetNearestBiggerPowerOfTwo([float](System.Single) f)##### Summary

Returns nearest bigger power of two

Returns

csharp[int](System.Int32) GetNearestBiggerPowerOfTwo([double](System.Double) f)

Clone this wiki locally