code: public static float getFloat(MemorySegment[] segments, int offset) {
  		if (inFirstSegment(segments, offset, 4)) {
  			return segments[0].getFloat(offset);
  		} else {
  			return getFloatMultiSegments(segments, offset);
  		}
  	}
docs: get float from segments.
  
  @param segments target segments.
  @param offset value offset.