rem (rem n d) The remainder of quot: the same sign as n, the magnitude of d at most. Run(println (rem 7 2)) ; 1 (println (rem -7 2)) ; -1