On Wednesday, 24 August 2016 at 19:41:35 UTC, ag0aep6g wrote: > > -y1 is -1. But -y2 is uint.max, i.e. a pretty large positive > number. > > The 'u' in "uint" stands for "unsigned". That is, it doesn't > know negative numbers. Dont' use uint when you need negative > numbers. Ahh, doh.