protected int computeFloatSize(DataType type) {
		if (!(type instanceof AbstractFloatDataType)) {
			throw new StructuredSleighError("Must be a floating-point type. Got " + type);
		}
		return type.getLength();
	}
Validate and compute the size (in bytes) of a floating-point data type

@param type the type
@return the size of the type
Ghidra/Features/SystemEmulation/src/main/java/ghidra/pcode/struct/StructuredSleigh.java