libfxd 0.2.dev
A fixed-point library for C++.
|
Analogous to std::uniform_real_distribution::param_type
More...
#include <random.hpp>
Public Member Functions | |
constexpr | param_type () |
constexpr | param_type (result_type a_, result_type b_=std::numeric_limits< result_type >::max()) |
Construct from min and max range. | |
constexpr result_type | a () const noexcept |
Minimum value. | |
constexpr result_type | b () const noexcept |
Maximum value. | |
bool | operator== (const param_type &other) const noexcept=default |
Defaulted == operator. | |
Analogous to std::uniform_real_distribution::param_type
Definition at line 34 of file random.hpp.
|
inlineconstexpr |
Definition at line 41 of file random.hpp.
|
inlineexplicitconstexpr |
Construct from min and max range.
a_ | minimum value. |
b_ | maximum value (inclusive). |
Definition at line 52 of file random.hpp.
|
inlineconstexprnoexcept |
Minimum value.
Definition at line 60 of file random.hpp.
|
inlineconstexprnoexcept |
Maximum value.
Definition at line 64 of file random.hpp.
|
defaultnoexcept |
Defaulted ==
operator.