public int signum() {
		if (get(length() - 1)) {
			return -1;
		} else {
			return bitCount() == 0 ? 0 : 1;
		}
	}
Return the signum of the number, represented by this bit-array (-1 for
negative, 0 for zero, 1 for positive).

{@snippet lang="java":
final BitArray bits = null; // @replace substring='null' replacement="..."
final BigInteger i = bits.toBigInteger();
assert bits.signum() == i.signum();
}

@return the signum of the number, represented by this bit-array (-1 for
	       negative, 0 for zero, 1 for positive)
jenetics/src/main/java/io/jenetics/internal/collection/BitArray.java