The calculation could be divided into parts using the following algebra:
(a + b) * (c + d) = (a * c) + (a * d) + (b * c) + (b * d) Consider that a
is the integer part of x and b is the remainder and similarly that c is
the integer part of y and d is the remainder.