Luna::IRandom::gen_f64

virtual f64 gen_f64(f64 range_begin, f64 range_end)=0

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].