Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by salva (Canon)
on Mar 12, 2011 at 18:17 UTC ( [id://892849]=note: print w/replies, xml ) Need Help??


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)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://892849]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-26 07:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found