Definition:Signum Function/Natural Numbers

Definition
Let $n \in \N$.

The signum function $\operatorname{sgn}: \N \to \N$ is defined as:
 * $\forall n \in \N: \operatorname{sgn} \left({n}\right) = \begin{cases}

0 & : n = 0 \\ 1 & : n > 0 \end{cases}$

Also see

 * Signum Function on Natural Numbers as Characteristic Function