01-05-2025, 09:30 PM
I have a problem with "MOD". The formula used gives the correct result, namely -6. To get the final result, the calculation instruction is: -6 MOD 7.
The result is -6 (corresponds to the Wiki), the same in Julia or Octave.
The MS calculator, on the other hand, gives 1. And that is actually the desired result. Who is right now?
It is about a formula for calculating days of the week according to the Julian/Grgorian calendar.
The result is -6 (corresponds to the Wiki), the same in Julia or Octave.
The MS calculator, on the other hand, gives 1. And that is actually the desired result. Who is right now?
It is about a formula for calculating days of the week according to the Julian/Grgorian calendar.