You can get the precision with BINARY16.precision. But the exponent range in this package is expressed as a minExponent and maxExponent. So if you want to get the number of bits directly you need another way.