Post Reply 
[VA] SRC #011 - April 1st, 2022 Bizarro Special
04-14-2022, 03:39 PM (This post was last modified: 04-14-2022 03:49 PM by Albert Chan.)
Post: #33
RE: [VA] SRC #011 - April 1st, 2022 Bizarro Special
(04-14-2022 02:48 PM)J-F Garnier Wrote:  so no big difference due to the platform, and the same empty classes.

Thanks for checking on a decimal machine.

We can explain the empty classes by getting min(1+RND-RND)
Here RND = (s = FP(PI*s)), and assumed calculations from left to right.
In other words, result of 1st RND is seed of 2nd RND

To minimize the expression, 2nd RND must be close to 1 (but, not yet reached it)
2nd RND cannot be close to 2 or 3, because first RND must be small.

min(1+RND-RND) = 1 + 1/PI - 1 = 1/PI ≈ 0.31831

3 classes, range of [0,0.1), [0.1,0.2), [0.2,0.3) must be empty

---

By same logic, with RND = (s = FP(DEG(s))), min(1+RND-RND) = PI/180 ≈ 0.01745
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [VA] SRC #011 - April 1st, 2022 Bizarro Special - Albert Chan - 04-14-2022 03:39 PM



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