Skip to main content

Prime Mesh Python client library 2025 R2

bit_length

Last update: 10.09.2025

ContactPatchAxis.bit_length(/)

Number of bits necessary to represent self in binary.

>>> bin(37)
'0b100101'
>>> (37).bit_length()
6

Connect with Ansys