RNG has laughably low (apparant) periodicity. #24

Closed
opened 2022-11-11 13:13:56 -04:00 by ZAdamMac · 2 comments
ZAdamMac commented 2022-11-11 13:13:56 -04:00 (Migrated from github.com)

The RNG appears to have a period on the order of 8-15 draws.

This could be improved by focusing on the least significant bits of the RNG result before converting to a float and handing it out. I'd hope it to be an easy fix.

The RNG appears to have a period on the order of 8-15 draws. This could be improved by focusing on the least significant bits of the RNG result before converting to a float and handing it out. I'd hope it to be an easy fix.
ZAdamMac commented 2022-12-08 20:34:17 -04:00 (Migrated from github.com)

This is addressed in [f/version0-1-1 804569a] which may or may not already be pushed. The full fix will release in 0.1.1

This is addressed in [f/version0-1-1 804569a] which may or may not already be pushed. The full fix will release in 0.1.1
ZAdamMac commented 2023-05-24 19:16:53 -03:00 (Migrated from github.com)

Testing shows that this was, indeed, largely fixed in commit 804569a. The period is now higher than I can be bothered to count and is "casually sufficient".

Now watch a speedrunner come along and decide they want to find an RNG manip. in PETI just for kicks.

Testing shows that this was, indeed, largely fixed in commit [804569a](https://github.com/ZAdamMac/PETI/commit/804569a14cce27f5f19ba636afbbb2afe4b08575). The period is now higher than I can be bothered to count and is "casually sufficient". Now watch a speedrunner come along and decide they want to find an RNG manip. in PETI just for kicks.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
zadammac/PETI#24
No description provided.