Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns the remainder resulting from the division of a specified number by another specified number.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Public Shared Function IEEERemainder ( _
x As Double, _
y As Double _
) As Double
public static double IEEERemainder(
double x,
double y
)
public:
static double IEEERemainder(
double x,
double y
)
static member IEEERemainder :
x:float *
y:float -> float
public static function IEEERemainder(
x : double,
y : double
) : double
Parameters
- x
Type: System. . :: . .Double
A dividend.
- y
Type: System. . :: . .Double
A divisor.
Return Value
Type: System. . :: . .Double
A number equal to x - (y Q), where Q is the quotient of x / y rounded to the nearest integer (if x / y falls halfway between two integers, the even integer is returned).
If x - (y Q) is zero, the value +0 is returned if x is positive, or -0 if x is negative.
If y = 0, NaN is returned.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.