signum


Description:

public int signum (double x)

A sign or signum function.

Parameters:

x

Any double precision number

Returns:

1 if x > 0, 0 if x = 0, -1 if x < 0


Namespace: Dcs.UI
Package: dcs-0.1