code: static float powerOfTwoF(int n) {
          assert(n >= FloatConsts.MIN_EXPONENT && n <= FloatConsts.MAX_EXPONENT);
          return Float.intBitsToFloat(((n + FloatConsts.EXP_BIAS) <<
                                       (FloatConsts.SIGNIFICAND_WIDTH-1))
                                      & FloatConsts.EXP_BIT_MASK);
      }
docs: Returns a floating-point power of two in the normal range.