Modulus of Negative Numbers The Quickest and easiest way to find the mod of a negative number is by using the below property if a = (b) mod c then a = (c*k + b) mod c (where k = 1,2,3.......
Read full article from Modulus of Negative Numbers | Naveen S Nayak's Blog
No comments:
Post a Comment