bit length

Basic data handling: IntBitLength

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.

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (1)

NameTypeRequired
int_valueINTrequired

Outputs (1)

NameType
INTINT