Compartilhar via


MathHelper.NextPowerOfTwo Método

Definição

Sobrecargas

NextPowerOfTwo(Single)
NextPowerOfTwo(Int64)
NextPowerOfTwo(Int32)
NextPowerOfTwo(Double)

NextPowerOfTwo(Single)

public static float NextPowerOfTwo (float n);
static member NextPowerOfTwo : single -> single

Parâmetros

n
Single

Retornos

Aplica-se a

NextPowerOfTwo(Int64)

public static long NextPowerOfTwo (long n);
static member NextPowerOfTwo : int64 -> int64

Parâmetros

n
Int64

Retornos

Aplica-se a

NextPowerOfTwo(Int32)

public static int NextPowerOfTwo (int n);
static member NextPowerOfTwo : int -> int

Parâmetros

n
Int32

Retornos

Aplica-se a

NextPowerOfTwo(Double)

public static double NextPowerOfTwo (double n);
static member NextPowerOfTwo : double -> double

Parâmetros

n
Double

Retornos

Aplica-se a