Math.CeilMod 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 |
|---|---|
| CeilMod(Int32, Int32) |
Returns the remainder associated with ceiling division. |
| CeilMod(Int64, Int32) |
Returns the remainder associated with ceiling division. |
| CeilMod(Int64, Int64) |
Returns the remainder associated with ceiling division. |
CeilMod(Int32, Int32)
Returns the remainder associated with ceiling division.
[Android.Runtime.Register("ceilMod", "(II)I", "", ApiSince=35)]
public static int CeilMod(int x, int y);
[<Android.Runtime.Register("ceilMod", "(II)I", "", ApiSince=35)>]
static member CeilMod : int * int -> int
Parameters
- x
- Int32
The dividend.
- y
- Int32
The divisor.
Returns
x - ceilDiv(x, y) * y.
- Attributes
Exceptions
if y is zero.
Remarks
Returns x - ceilDiv(x, y) * y.
Applies to
CeilMod(Int64, Int32)
Returns the remainder associated with ceiling division.
[Android.Runtime.Register("ceilMod", "(JI)I", "", ApiSince=35)]
public static int CeilMod(long x, int y);
[<Android.Runtime.Register("ceilMod", "(JI)I", "", ApiSince=35)>]
static member CeilMod : int64 * int -> int
Parameters
- x
- Int64
The dividend.
- y
- Int32
The divisor.
Returns
x - ceilDiv(x, y) * y.
- Attributes
Exceptions
if y is zero.
Remarks
Returns x - ceilDiv(x, y) * y.
Applies to
CeilMod(Int64, Int64)
Returns the remainder associated with ceiling division.
[Android.Runtime.Register("ceilMod", "(JJ)J", "", ApiSince=35)]
public static long CeilMod(long x, long y);
[<Android.Runtime.Register("ceilMod", "(JJ)J", "", ApiSince=35)>]
static member CeilMod : int64 * int64 -> int64
Parameters
- x
- Int64
The dividend.
- y
- Int64
The divisor.
Returns
x - ceilDiv(x, y) * y.
- Attributes
Exceptions
if y is zero.
Remarks
Returns x - ceilDiv(x, y) * y.