Jump to content

Sign function

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by AugPi (talk | contribs) at 01:04, 5 March 2004 (new article). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

In mathematics and especially in computer science, the sign function is a logical function which extracts the sign of a real number. The sign function is often represented as sgn and can be defined thus:

Any real number can be expressed as the product of its absolute value and its sign function:

.