Compartilhar via


Math.NextUp Method

Definition

Overloads

NextUp(Double)

Returns the floating-point value adjacent to d in the direction of positive infinity.

NextUp(Single)

Returns the floating-point value adjacent to f in the direction of positive infinity.

NextUp(Double)

Returns the floating-point value adjacent to d in the direction of positive infinity.

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

Parameters

d
Double

starting floating-point value

Returns

The adjacent floating-point value closer to positive infinity.

Attributes

Remarks

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

NextUp(Single)

Returns the floating-point value adjacent to f in the direction of positive infinity.

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

Parameters

f
Single

starting floating-point value

Returns

The adjacent floating-point value closer to positive infinity.

Attributes

Remarks

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