    

 ## On this page

  

 

 # bit\_length

 Last update: 02.04.2026 

<a id="ansys.meshing.prime.IntersectionMask.bit_length"></a>

#### IntersectionMask.bit\_length(/)

Number of bits necessary to represent self in binary.

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

```