This alone should be a reason to drop the pi factor: it's basically impossible to get an exact zero for the sine of a half-turn:
sin(1*pi) = 1.2246e-16