sign(x)

Returns -1 if x<0; returns 0 if x=0; and returns +1 if x>0.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.