Distributive Property of the Multiplication of Modulo Functions

380 Views Asked by At

According to this Wikipedia article, $ab \bmod n = [(a \bmod n)(b \bmod n)] \bmod n$. However $(x \bmod 1)^2 \neq (x^2 \bmod1)$ for $x \in \mathbb{R}$. So, is there some way to multiply modulo functions to make functions that is valid for all reals?