sign

sign(x)

Return -1, 0, or 1. Vectorised.