Java.Lang.StrictMath.Expm1 Method
Returns the closest double approximation of ed- 1.

Syntax

[Android.Runtime.Register("expm1", "(D)D", "")]
public static double Expm1 (double d)

Parameters

d
the value to compute the ed- 1 of.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the closest double approximation of ed- 1. If the argument is very close to 0, it is much more accurate to use expm1(d)+1 than exp(d) (due to cancellation of significant digits).

Special cases:

  • expm1(+0.0) = +0.0
  • expm1(-0.0) = -0.0
  • expm1(+infinity) = +infinity
  • expm1(-infinity) = -1.0
  • expm1(NaN) = NaN

[Android Documentation]

Requirements

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