signum

Returns the signum function of the specified int value. (The return value is -1 if the specified value is negative; 0 if the specified value is zero; and 1 if the specified value is positive.)

Return

the signum function of the specified int value.

Since

1.5

Parameters

i

the value whose signum is to be computed