I wonder if it is possible to build a $\operatorname{sign} (x)$ function which will return either $1$ for positive values of $x$, or $-1$ for negative ones - using only the four basic arithmetic operations $(+, -, \times , \div )$.
Clearly it is easy to accomplish this if using square root $\surd$ would be allowed as well, so$$\operatorname{sign} (x) = \frac{x}{\sqrt{x^2}}.$$
But is it possible using only basic arithmetics as well?