Computes the arithmetic range of an array of values.