quantlib.pricingengines.credit.isda_cds_engine.ForwardsInCouponPeriod.bit_length

ForwardsInCouponPeriod.bit_length(/)

Number of bits necessary to represent self in binary.

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