Summation by parallel or antiparallel circuit