@Override
	public boolean equals(Object obj) {
		if (obj == null) {
			return false;
		}
		if (obj == this) {
			return true;
		}
		if (getClass() != obj.getClass()) {
			return false;
		}
		Scalar other = (Scalar) obj;
		long v = getValue();
		if (v != other.getValue()) {
			return false;
		}
		if (v < 0) {
			if (bitLength == 64 || other.bitLength == 64) {
				// if both values are negative ensure that they have
				// the same signed-ness
				return signed == other.signed;
			}
		}
		return true;
	}
<p>Returns a byte array representing this Scalar.  The size of
the byte array is the number of bytes required to hold the
number of bits returned by <CODE>bitLength()</CODE>.</p>

@return a big-endian byte array containing the bits in this Scalar.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/scalar/Scalar.java