public static long parseLong(String s) throws NumberFormatException {
		return parseHelper(s, false, BigInteger::longValue, MAX_UNSIGNED_LONG);
	}
Parses the given decimal/hex string as an {@code long} value. This method allows values with
the top bit set to be implicitly parsed as negative values.

@param s the string to parse
@return the parsed {@code long} value
@throws NumberFormatException if the string does not represent a valid {@code long} value
Ghidra/Framework/Generic/src/main/java/ghidra/util/NumericUtilities.java