mirror of
https://github.com/boostorg/random.git
synced 2026-01-19 04:22:17 +00:00
@@ -124,7 +124,7 @@ public:
|
||||
RealType p() const { return _p; }
|
||||
|
||||
/** Returns the smallest value that the distribution can produce. */
|
||||
IntType min BOOST_PREVENT_MACRO_SUBSTITUTION () const { return IntType(1); }
|
||||
IntType min BOOST_PREVENT_MACRO_SUBSTITUTION () const { return IntType(0); }
|
||||
|
||||
/** Returns the largest value that the distribution can produce. */
|
||||
IntType max BOOST_PREVENT_MACRO_SUBSTITUTION () const
|
||||
|
||||
@@ -16,9 +16,9 @@
|
||||
#define BOOST_RANDOM_ARG1_DEFAULT 0.5
|
||||
#define BOOST_RANDOM_ARG1_VALUE 0.25
|
||||
|
||||
#define BOOST_RANDOM_DIST0_MIN 1
|
||||
#define BOOST_RANDOM_DIST0_MIN 0
|
||||
#define BOOST_RANDOM_DIST0_MAX (std::numeric_limits<int>::max)()
|
||||
#define BOOST_RANDOM_DIST1_MIN 1
|
||||
#define BOOST_RANDOM_DIST1_MIN 0
|
||||
#define BOOST_RANDOM_DIST1_MAX (std::numeric_limits<int>::max)()
|
||||
|
||||
#define BOOST_RANDOM_TEST1_PARAMS (0.9999)
|
||||
|
||||
Reference in New Issue
Block a user