Truly Random Float

by Ricardo “Rudxain” Fernández Serrata

Version 3 (April 17, 2022)

Download (24 downloads)

Using "/dev/urandom" as source, returns a number in the interval [0, 1). The generated float has a max size of 53b (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).

Repeatedly calling this flow to generate multiple numbers is very slow. Use this instead: llamalab.com/automate/community/flows/39114

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.