You are here : vhdlmath_realmod

mod() - math_real

Returns floating point modulus of X/Y, with the same sign as Y, and absolute value less than the absolute value of Y, and for some INTEGER value N the result satisfies the relation

X = Y*N + MOD(X,Y)


Syntax

function "MOD" (X, Y: in REAL ) return REAL;


Example


Output / Return Value


Limitations


Alternatives / See Also


Reference