sign(sin(w))