Table of Contents

Method DivLog2RoundDown

Namespace
PaintDotNet
Assembly
PaintDotNet.Fundamentals.dll

DivLog2RoundDown(int, int)

Divides x by 2^log2N, and rounds down.

public static int DivLog2RoundDown(int x, int log2N)

Parameters

x int
log2N int

Returns

int