This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Mathematical Functions / Numerical Functions /


FilledSmallSquare Sign[x] gives -1, 0 or 1 depending on whether x is negative, zero, or positive.

FilledSmallSquare For non-zero complex numbers z, Sign[z] is defined as z/Abs[z].

FilledSmallSquare Sign tries simple transformations in trying to determine the sign of symbolic expressions.

FilledSmallSquare For exact numeric quantities, Sign internally uses numerical approximations to establish its result. This process can be affected by the setting of the global variable $MaxExtraPrecision.

FilledSmallSquare See Section 3.2.2.

FilledSmallSquare See also: Abs, UnitStep, Positive, Negative, NonNegative, Greater, Simplify, Assumptions.

FilledSmallSquare New in Version 1; modified in 3.

Further Examples