Math.NextAfter Method

Definition

Overloads

NextAfter(Double, Double)

Returns the floating-point number adjacent to the first argument in the direction of the second argument.

NextAfter(Single, Double)

Returns the floating-point number adjacent to the first argument in the direction of the second argument.

NextAfter(Double, Double)

Returns the floating-point number adjacent to the first argument in the direction of the second argument.

[Android.Runtime.Register("nextAfter", "(DD)D", "")]
public static double NextAfter (double start, double direction);
[<Android.Runtime.Register("nextAfter", "(DD)D", "")>]
static member NextAfter : double * double -> double

Parameters

start
Double

starting floating-point value

direction
Double

value indicating which of start's neighbors or start should be returned

Returns

The floating-point number adjacent to start in the direction of direction.

Attributes

Remarks

Java documentation for java.lang.Math.nextAfter(double, 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

NextAfter(Single, Double)

Returns the floating-point number adjacent to the first argument in the direction of the second argument.

[Android.Runtime.Register("nextAfter", "(FD)F", "")]
public static float NextAfter (float start, double direction);
[<Android.Runtime.Register("nextAfter", "(FD)F", "")>]
static member NextAfter : single * double -> single

Parameters

start
Single

starting floating-point value

direction
Double

value indicating which of start's neighbors or start should be returned

Returns

The floating-point number adjacent to start in the direction of direction.

Attributes

Remarks

Java documentation for java.lang.Math.nextAfter(float, 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