long elements() {
		if (Double.isInfinite(min) || Double.isInfinite(max)) {
			return Long.MAX_VALUE;
		}

		long left = min < 0 ? Long.MIN_VALUE - doubleToLongBits(min) : doubleToLongBits(min);
		long right = max < 0 ? Long.MIN_VALUE - doubleToLongBits(max) : doubleToLongBits(max);

		// Overflow safe subtraction.
		final long result = right - left;
		return ((right^left) & (right^result)) < 0 ? Long.MAX_VALUE : result;
	}
Return the number of <em>distinct</em> {@code double} values {@code this}
interval can <em>hold</em>.

@return the number of distinct double values of {@code this} interval
jenetics.incubator/src/main/java/io/jenetics/incubator/stat/Interval.java