Comment Comment by 10000truths This is exactly how random floats are computed in the Zig standard library:https://github.com/ziglang/zig/pull/10428/ parent 10000truths 3 years ago
https://github.com/ziglang/zig/pull/10428/