Home    LittleBigPlanet 2 - 3 - Vita - Karting    LittleBigPlanet 2    [LBP2] Tutorials
#1

Utilizing Clock Error

Archive: 1 post


This idea is by Seku (http://www.lbpcentral.com/forums/member.php?23190-Seku), just FYI

I got this from a quick tutorial by Seku, so if part of this concept doesn't work (I'm sorry D

When you want true randomness, how do you achieve total random? (well most random)
The key is to use floating point (http://en.wikipedia.org/wiki/Floating_point) error caused by loss of accuracy (yay error is useful!)

So how would you do this?
When you scale up a number immensly, after a certain amount of digits, it no longer becomes reliable (for different situations it can be differently random, like 24 digits back for unreliability in decompression, and 46 for unreliability of actual detection)

so just scale up past unreliability, discard all numbers past 100%, and just keep scaling, then there you go, random numbers (so just a x10 loop or something with some kind of higher digit removing device) then it sort of "stretches" the unreliability factor in numbers, and gives out a pseudo-random number

Not sure if anyone will find this useful (or if I even told this correctly) but I hope someone finds a use for this (and if I told this wrong please correct me), so go, and be random with analogue! (and please start posting more threads, its kinda lonely here )
2014-05-20 03:59:00

Author:
amiel445566
Posts: 664


LBPCentral Archive Statistics
Posts: 1077139    Threads: 69970    Members: 9661    Archive-Date: 2019-01-19

Datenschutz
Aus dem Archiv wurden alle persönlichen Daten wie Name, Anschrift, Email etc. - aber auch sämtliche Inhalte wie z.B. persönliche Nachrichten - entfernt.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.