Luna::random_f64

f64 random_f64(f64 range_begin, f64 range_end)

Generates one random 64-bit floating-point number.

Parameters

  • in range_begin

    The minimum number that will be generated.

  • in range_end

    The maximum number that will be generated.

Return value

Returns the generated number in range [range_begin, range_end].