boolean haveDouble = false;
double imaginarySum = 0;
boolean haveComplex = false;
if(arguments.length() == 1 && arguments.get(0) instanceof DoubleVector && !removeNA) {
return new DeferredSum((Vector) arguments.get(0), AttributeMap.EMPTY);
}
for(SEXP argument : arguments) {
if(argument instanceof IntVector || argument instanceof LogicalVector) {
AtomicVector vector = (AtomicVector)argument;