docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method popcnt_u32

    popcnt_u32(uint)

    Count the number of bits set to 1 in unsigned 32-bit integer a, and return that count in dst.

    Declaration
    public static int popcnt_u32(uint v)
    Parameters
    Type Name Description
    uint v

    Integer to be counted in

    Returns
    Type Description
    int

    Count

    Remarks

    **** popcnt r32, r32

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)