Adds or subtracts the absolute value of the second buffer to the first one. for (i = 0 ; i < 8 ; i++) ret[i] = acc[i] +/- abs(xbuf[xstart + xoffs[i]])