| CMATHrMod Method |
Calculates the modulus of two reals (A mod B)
Available since Oasis montaj version: 6.0.1
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetAssembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
The modulus of A with respect to B is defined
as the difference of A with the largest integral multiple of B
smaller than or equal to A.
e.g. A mod B
20 mod 10 = 0
20 mod 9 = 2
f A or B is a dummy, returns dummy.
Syntax public static double rMod(
double d1,
double d2
)
Public Shared Function rMod (
d1 As Double,
d2 As Double
) As Double
public:
static double rMod(
double d1,
double d2
)
static member rMod :
d1 : float *
d2 : float -> float
Parameters
- d1
- Type: SystemDouble
A - d2
- Type: SystemDouble
B (must not be zero)
Return Value
Type:
Doublereal
See Also