Mathematica 9 is now available

Sign

Usage

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


Notes

• Mathematical function (see Section A.3.10).
• For non-zero complex numbers z, Sign[z] is defined as z/Abs[z].
Sign tries various transformations in trying to determine the sign of symbolic expressions.
• 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.
• See Section 3.2.2.
• New in Version 1; modified in 3.


Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.