Sign of a number (signum)

sgn(x): −1, 0 or 1.

Input data

Results

Enter data and click Calculate.

How the results are calculated