I calc -15 mod 18 and here are results:
C: -15 % 18 = -15
(http://codepad.org/DhzkZYHk)
Google: -15 mod 18 = 3
(Type -15 mod 18
into google's search box)
and results of -9 mod 5:
C: -9 % 5 = -4
Google: -9 mod 5 =1
Why these are differents? And how google calculate their mod?