Signum

Signum returns the sign of the input.

Methods

Arguments

Return Value

out

x::continuous

continuous

On activation of method

Out

1.0 is returned if x > 0.0, 0.0 is returned if x = 0.0, and -1.0 is returned if x < 0.0.