Hi,
I'm sorry if this question has been asked before but I couldn't find any appropriate answer elsewhere and hence this post. Today while doing some calculation using bc I found a very peculiar thing. I was performing an operation -2 % -3 and the software reported the answer as -2. Now -2 > -3 and if I remember correctly then in divison operation the remainder is less than the divisor. So how come in this case the answer is not coming properly. Is it a software flaw or there is some mistake in my understanding of the division operation ?
Thanks and regards,
Mayank