nn::math::DistBit Function

Syntax

u32 DistBit(
     u32 x,
     u32 y
);

Arguments

Name Description
in x Bit array 1.
in y Bit array 2.

Return Values

Returns the distance between bit array 1 and bit array 2.

Description

Calculates the distance between two bit arrays.


CONFIDENTIAL