Truly Random Float

by Ricardo “Rudxain” Fernández Serrata

Version 4 (April 28, 2024)

Download (36 downloads)

Returns a number in the range [0, 1). Uses "/dev/urandom" as source. The generated float has a max size of 53bit (just like `random()`). JS `Math.random` generates 52 random bits per call, so this flow and AM's built-in both use an extra bit (the implicit bit outside the mantissa).

The "Access to all files" permission is unnecessary, as it uses AM's own private cache. The filename is the flow's local ID, reducing the chance of collisions.

Use this to generate multiple numbers: llamalab.com/automate/community/flows/39114

LICENSE: https://unlicense.org

Rudxain profile: llamalab.com/automate/community/flows/42921

4.0 average rating from 1 reviews

5 stars
0
4 stars
1
3 stars
0
2 stars
0
1 star
0
Reports
0

Rate and review within the app in the Community section.