3 ms·
Nope, there are standard arithmetic rules for subtracting negative numbers: `3 - (-3) == 0` Your two versions of the contract mean the same thing, and I am con
by jrochkind1 13y ago
Nope, there are standard arithmetic rules for subtracting negative numbers: `3 - (-3) == 0`
Your two versions of the contract mean the same thing, and I am confident it is implemented such. I agree with you that the actual wording is sloppy and confusing, and your version would have been more clear. But they mean the same thing.
- einhverfr 13y agoI don't know where you learned arithmetic, but where I learned it, 3 - (-3) == 6.... What this means effectively is that 1am GMT+1 would evaluate to false, but 11pm GMT-1 would evaluate to true because 23:00 + 1.00 == 24:00, and 24 != 0.
- jrochkind1 13y agooops, my arithmetic was wrong, but my point was right... I think? If it's 21:00 in a timezone that's GMT-3, you take 21:00 - (-3) and get 00:00, the correct GMT time. No? Oh, I see your point, it says nothing about rollover. Okay, I dunno. Times are confusing.