nn::math::CntTz Function

Syntax

u32 CntTz(
     u32 x
);

Arguments

Name Description
in x Bit array.

Return Values

Returns the number of consecutive bits set to 0, starting from the least significant bit (LSB).

Description

Counts the number of consecutive bits set to 0, starting from the least significant bit (LSB).

Revision History

2010/01/07
Initial version.

CONFIDENTIAL