Header for RandomNumber. More...
#include <vector>
#include <iomanip>
#include <limits>
#include <cmath>
Go to the source code of this file.
Classes | |
class | RandomLib::RandomNumber |
Infinite precision random numbers. More... | |
Namespaces | |
namespace | RandomLib |
Defines | |
#define | RANDOMNUMBER_HPP "$Id: RandomNumber.hpp 6723 2010-01-11 14:20:10Z ckarney $" |
#define | STATIC_ASSERT(cond, reason) { enum{ STATIC_ASSERT_ENUM = 1/int(cond) }; } |
Header for RandomNumber.
Infinite precision random numbers.
Written by Charles Karney <charles@karney.com> and licensed under the LGPL. For more information, see http://randomlib.sourceforge.net/
Definition in file RandomNumber.hpp.
#define RANDOMNUMBER_HPP "$Id: RandomNumber.hpp 6723 2010-01-11 14:20:10Z ckarney $" |
Definition at line 12 of file RandomNumber.hpp.
#define STATIC_ASSERT | ( | cond, | |
reason | |||
) | { enum{ STATIC_ASSERT_ENUM = 1/int(cond) }; } |
A simple compile-time assert.
Definition at line 23 of file RandomNumber.hpp.
Referenced by RandomLib::RandomNumber::Init(), RandomLib::RandomNumber::Fraction(), and RandomLib::RandomNumber::Value().