Math.FloorDivExact Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| FloorDivExact(Int32, Int32) |
Returns |
| FloorDivExact(Int64, Int64) |
Returns |
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.