projog

4.15. rem - finds the remainder of division of one number by another.

The result has the same sign as the dividend (i.e. first argument).

Examples