Sign
The sign of x: -1, 0, or 1 for negative, zero, or positive x.
Wikipedia
Sign functionMathWorldSignWikidataQ236813DLMFfront/introduction.common.t2.r18FungrimSign✓Fungrim entryFindStatSt000037via Permutation✓Wolfram LanguageSign✓Details
for , , respectively. - For a complex number,
, the unit complex number pointing toward z. See Abs. - Recovers the original magnitude:
. , but propagates as NaN rather than 0.