Sign Sign[x] returns the sign of x. Attributes[Sign] := {Listable, NumericFunction, Protected, ReadProtected} Simple examples In[1]:= Sign[5] Out[1]= 1 In[2]:= Sign[0] Out[2]= 0 In[3]:= Sign[-5] Out[3]= -1 In[4]:= Sign[5.] Out[4]= 1 In[5]:= Sign[0.] Out[5]= 0 In[6]:= Sign[-5.] Out[6]= -1 In[7]:= Sign[(1)/(2)] Out[7]= 1