List Commands Library for 50g

10062017, 04:05 AM
Post: #211




RE: List Commands Library for 50g
(10062017 03:04 AM)ttw Wrote: Normally, most uses of pseudorandomnumber generators do not generate 0.0 or 1.0. (This is for those approximating a real number on the unit interval.) "Most uses of pseudorandomnumber generators do not generate 0.0 or 1.0" Did you mean: "Most pseudorandomnumber generators do not generate 0.0 or 1.0" Or did you mean "Most uses of pseudorandomnumber generators do not expect 0.0 or 1.0" I'm asking because your statement, as it is, makes no sense. "Uses" of RNGs don't make those RNGs behave one way or another. RNGs are either able to produce 0.0 and/or 1.0, or they're not. And the code that uses those numbers should be written in a way that is correct when 0.0 or 1.0 occur, if it is possible for either or both of those extremes to occur. 

« Next Oldest  Next Newest »

User(s) browsing this thread: 1 Guest(s)