On 11/4/19 4:15 PM, Rémi Bernon wrote:
if ((char *)end - (char *)start < step || (char *)start - (char *)base < step)
break;
I should probably check the sign of step and choose one of the two conditions here instead. Trying to do everything at once like this stops the iterations when base == start and step > 0 for instance. Or it should be base - start > step. I'll fix that.