List Commands Library for 50g
|
02-01-2019, 08:14 PM
Post: #405
|
|||
|
|||
RE: List Commands Library for 50g
(01-29-2019 07:00 PM)pier4r Wrote: I mean say we have a range of: -5 to 5. When you do RAND a * b + you pick a value, actually, between 0 - eps and -4 - eps (where eps<1). Then you add 5 to it, so one gets mostly positive integers or zero. I don't know, but I just ran the revised program and got a list containing approximately equal numbers of each of the integers from -5 through 5. Try it yourself: run the program with the arguments 1000, -5, 5 then execute LSORT LRPCT on the resulting list to see the stats. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)