@Override
	public int compareValues(byte[] bytes1, byte[] bytes2, SearchSettings settings) {
		boolean isBigEndian = settings.isBigEndian();
		// check each value one at a time, and return the first one different
		for (int i = 0; i < bytes1.length / byteSize; i++) {
			double value1 = getValue(bytes1, i, isBigEndian);
			double value2 = getValue(bytes2, i, isBigEndian);
			if (value1 != value2) {
				return Double.compare(value1, value2);
			}
		}
		return 0;
	}
{@link SearchFormat} for parsing and display bytes in a float or double format.
Ghidra/Features/Base/src/main/java/ghidra/features/base/memsearch/format/FloatSearchFormat.java