It helps to draw a graph: first of , then , then , and finally .

The remainder is not often used for the division of real numbers. I believe it is sufficient to consider two cases: when the function argument has the form and where and . Then, obviously, and .