Math.Ulp Method

Definition

Overloads

Ulp(Double)

Returns the size of an ulp of the argument.

Ulp(Single)

Returns the size of an ulp of the argument.

Ulp(Double)

Returns the size of an ulp of the argument.

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

Parameters

d
Double

the floating-point value whose ulp is to be returned

Returns

the size of an ulp of the argument

Attributes

Remarks

Java documentation for java.lang.Math.ulp(double).

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

Ulp(Single)

Returns the size of an ulp of the argument.

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

Parameters

f
Single

the floating-point value whose ulp is to be returned

Returns

the size of an ulp of the argument

Attributes

Remarks

Java documentation for java.lang.Math.ulp(float).

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