in reply to Split range 0 to M into N non-overlapping (roughly equal) ranges.

[15:43:29.03] C:\test>ranges -N=2 -M=9999997 0 : from 0 to 4999997 (4999998) 1 : from 4999998 to 9999997 (5000000)
Is this a bug? I guess it should be...
0 : from 0 to 4999998 (4999999) 1 : from 4999999 to 9999997 (4999999)