Table of Contents

Method DivLog2RoundUp

Namespace
PaintDotNet
Assembly
PaintDotNet.Fundamentals.dll

DivLog2RoundUp(int, int)

Divides x by 2^log2N, and rounds up.

public static int DivLog2RoundUp(int x, int log2N)

Parameters

x int
log2N int

Returns

int