Math.Signum Method

Definition

Overloads

Signum(Double)

Returns the signum function of the argument.

Signum(Single)

Returns the signum function of the argument.

Signum(Double)

Returns the signum function of the argument.

[Android.Runtime.Register("signum", "(D)D", "")]
public static double Signum (double d);
static member Signum : double -> double

Parameters

d
Double

the value whose signum has to be computed.

Returns

Double
Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Signum(Single)

Returns the signum function of the argument.

[Android.Runtime.Register("signum", "(F)F", "")]
public static float Signum (float f);
static member Signum : single -> single

Parameters

f
Single

the value whose signum has to be computed.

Returns

Single
Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to