Math.FloorDivExact Method

Definition

Overloads

Name Description
FloorDivExact(Int32, Int32)

Returns x divided by y, rounded toward negative infinity.

FloorDivExact(Int64, Int64)

Returns x divided by y, rounded toward negative infinity.

FloorDivExact(Int32, Int32)

Returns x divided by y, rounded toward negative infinity.

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

Parameters

x
Int32

The dividend.

y
Int32

The divisor.

Returns

The quotient rounded toward negative infinity.

Attributes

Exceptions

if y is zero or the result overflows.

Remarks

Throws if y is zero or the result overflows.

Applies to

FloorDivExact(Int64, Int64)

Returns x divided by y, rounded toward negative infinity.

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

Parameters

x
Int64

The dividend.

y
Int64

The divisor.

Returns

The quotient rounded toward negative infinity.

Attributes

Exceptions

if y is zero or the result overflows.

Remarks

Throws if y is zero or the result overflows.

Applies to