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 13, 2025 · 16 revisions

DEPRECATION NOTICE

This API documentation is out of date and no longer maintained.

Please visit the new documentation at: https://malforge.github.io/spaceengineers/pbapi

IndexNamespace IndexMathHelper

Summary

public static int GetNearestBiggerPowerOfTwo(int v)

Returns

int

Parameters

Summary

public static uint GetNearestBiggerPowerOfTwo(uint v)

Returns

uint

Parameters

Summary

public static int GetNearestBiggerPowerOfTwo(float f)

Returns nearest bigger power of two

Returns

int

Parameters

Summary

public static int GetNearestBiggerPowerOfTwo(double f)

Returns

int

Parameters

Clone this wiki locally