Click or drag to resize

ScriptExecutionBaseIEEERemainder(Double, Double) Method

Returns the remainder resulting from the division of a specified number by another specified number.

Namespace: Altaxo.Calc
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static double IEEERemainder(
	double x,
	double y
)

Parameters

x  Double
A dividend.
y  Double
A divisor.

Return Value

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.
See Also