A.sum<double,double,double>(d1,d2);
B.sum<double,double>(d1,d2);
C.sum<double>(d1,d2);
D.sum(d1,d2);