public static long adjustedExponentLength(
      final long exponentLength, final BigInteger firstExpBytes) {
    final int bitLength = bitLength(firstExpBytes);
    if (exponentLength <= WORD_SIZE) {
      return bitLength;
    } else {
      return clampedAdd(clampedMultiply(16, (exponentLength - WORD_SIZE)), bitLength);
    }
  }
Adjusted exponent length.

@param exponentLength the exponent length
@param firstExpBytes the first exp bytes
@return the long
evm/src/main/java/org/hyperledger/besu/evm/gascalculator/OsakaGasCalculator.java