signum ( x -- y ) (original) (raw)
Inputs
x | a number |
---|
Outputs
y | a number |
---|
Word description
Calculates the signum value. For a real number, x, this is its sign (-1, 0, or 1). For a complex number, x, this is the point on the unit circle of the complex plane that is nearest to x.
Definition
Methods