Function SeedHelpers::doubleToUInt64

Function Documentation

uint_fast64_t SeedHelpers::doubleToUInt64(const double &randNum)

Converts a 64 bit double to a uint_fast64_t, the seed type for mt19937_64.

Parameters:

randNum – The random double

Returns:

The seed converted from randNum