Google says: (-1000) modulo 10 000 = 9000
Wolfram Alpha says: (-1000) mod 10000 = 9000
So 2 out of three cats...
Explore... Chat... Share...
(-1000) mod 10000 = 9000
picstart1 wrote:The correct answer is always 9000. Modulo has a strict mathematical definition.
To move to -1000 from an arbitrary modulo zero position (say 10000) involves two retrograde steps of 10,000 and the last step has a remainder of 9000. The result of a Modulo operation is the remainder.
(-1000) mod 10000 = 9000
-(1000 mod 10000)is different in that the bracket causes the mod to operate on 1000 prior to infix setting the sign.
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]