SUM returns the sum of all the elements in x. The base, mode, and scale of the result match those of x.
|
If the elements of x are fixed-point, the precision of the result is (N,q), where N is the maximum number of digits allowed, and q is the scaling factor of x.
If the elements of x are floating-point, the precision of the result matches x.