randf

fnfloat randf() @safe nothrow @nogc

Returns a random float between 0.0 and 1.0 (inclusive).