The sign function records whether a real number is positive or negative, with a convention chosen separately at zero.
The sign function, often denoted as \( \text{sgn}(x) \), is a mathematical function that extracts the sign of a given real number \( x \).
New to topics? Read the docs here!