ComfyUI Node

bit length

Returns the number of bits required to represent an integer in binary. This node takes an integer as input and returns the number of bits needed to represent it, excluding the sign and leading zeros.

By StableLlama·Created about a year ago·Updated 25 days ago· 45
bit length
    • INT
    int_value0
    CategoryBasic/INT

    Inputs (1)

    NameTypeDefaultDescription
    int_valueINT0

    Outputs (1)

    NameTypeDescription
    INTINT