Function sign

Return sign(x).