1-sqrt(2)*sin(atan(1)); 1.0-sqrt(2.0)*sin(atan(1.0)); 1.0-sqrt(2.0)*sin(atan(1)); 1-sqrt(2)*sin(atan(1.0)); All return different expressions. Hint: the first one is 0. RJF