code: public SBPrintStream pj(float s) {
      if (Float.isInfinite(s)) {
        append("Float.").append(s > 0 ? "POSITIVE_INFINITY" : "NEGATIVE_INFINITY");
      } else if (Float.isNaN(s)) {
        append("Float.NaN");
      } else {
        append(s).append('f');
      }
      return this;
    }
docs: Java specific append of float