public void writeFloat(float v) {
    if (ignoreWrites) {
      return;
    }
    checkIfWritable();
    ensureCapacity(4);
    buffer.putFloat(v);
  }
Writes a <code>float</code> value, which is comprised of four bytes, to the output stream. It
does this as if it first converts this <code>float</code> value to an <code>int</code> in
exactly the manner of the <code>Float.floatToIntBits</code> method and then writes the
<code>int</code> value in exactly the manner of the <code>writeInt</code> method. The bytes
written by this method may be read by the <code>readFloat</code> method of interface
<code>DataInput</code>, which will then return a <code>float</code> equal to <code>v</code>.

@param v the <code>float</code> value to be written.
geode-serialization/src/main/java/org/apache/geode/internal/serialization/BufferDataOutputStream.java