Java.Math.BigDecimal.Ulp Method
Returns the unit in the last place (ULP) of this BigDecimal instance.

Syntax

[Android.Runtime.Register("ulp", "()Ljava/math/BigDecimal;", "GetUlpHandler")]
public virtual BigDecimal Ulp ()

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the unit in the last place (ULP) of this BigDecimal instance. An ULP is the distance to the nearest big decimal with the same precision.

The amount of a rounding error in the evaluation of a floating-point operation is often expressed in ULPs. An error of 1 ULP is often seen as a tolerable error.

For class BigDecimal, the ULP of a number is simply 10-scale. For example, new BigDecimal(0.1).ulp() returns 1E-55.

[Android Documentation]

Requirements

Namespace: Java.Math
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1