Rules for doing modulo 1 arithmetic

Status
Not open for further replies.

svensl

Full Member level 1
Joined
Mar 25, 2005
Messages
99
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
2,202
I was wondering whether there are any simplification/rules when doing modulo 1 arithmetic.

For example: <a+b>*<c+d> = ? or <a+b>^2=?
Here, <> is the fractional part, i.e <4.2> = 0.2

There is plenty I could find on mod N arithmetic with n>1 but nothing on mod 1.

thanks for any tips.

Svensl
 

Re: modulo 1 arithmetic

Think of each value being a sum of an integer and a fractional portion:
i.e. a = aI+aF, etc

Clearly, <a+b> = <(aI+aF)+(bI+bF)> = <(aI+bI)+(aF+bF)> = <aF+bF>

In the case of multiplication, <(cI+cF)*(dI+dF)> = <(cI*dI)+(cI*dF)+(dI*cF)+(cF*dF)> = <(cI*dF)+(dI*cF)+(cF*dF)>

These simplifications aren't much - only one term goes away - but unless you know something extra about c or d, etc., I don't think much more can be done validly. Fascinating question - any other thoughts??
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…