Math.CeilDivExact Method

Definition

Overloads

Name Description
CeilDivExact(Int32, Int32)

Returns x divided by y, rounded toward positive infinity.

CeilDivExact(Int64, Int64)

Returns x divided by y, rounded toward positive infinity.

CeilDivExact(Int32, Int32)

Returns x divided by y, rounded toward positive infinity.

[Android.Runtime.Register("ceilDivExact", "(II)I", "", ApiSince=35)]
public static int CeilDivExact(int x, int y);
[<Android.Runtime.Register("ceilDivExact", "(II)I", "", ApiSince=35)>]
static member CeilDivExact : int * int -> int

Parameters

x
Int32

The dividend.

y
Int32

The divisor.

Returns

The quotient rounded toward positive infinity.

Attributes

Exceptions

if y is zero or the result overflows.

Remarks

Throws if y is zero or the result overflows.

Applies to

CeilDivExact(Int64, Int64)

Returns x divided by y, rounded toward positive infinity.

[Android.Runtime.Register("ceilDivExact", "(JJ)J", "", ApiSince=35)]
public static long CeilDivExact(long x, long y);
[<Android.Runtime.Register("ceilDivExact", "(JJ)J", "", ApiSince=35)>]
static member CeilDivExact : int64 * int64 -> int64

Parameters

x
Int64

The dividend.

y
Int64

The divisor.

Returns

The quotient rounded toward positive infinity.

Attributes

Exceptions

if y is zero or the result overflows.

Remarks

Throws if y is zero or the result overflows.

Applies to