Commit Graph

633 Commits

Author SHA1 Message Date
Jens Maurer
d6933e48da test 48bit floating-point ranlux
[SVN r16124]
2002-11-05 20:30:46 +00:00
Jens Maurer
597455959d make sure to set all mantissa bits of floating-point generators with the
seed(first,last) interface (Matthias Troyer)


[SVN r16123]
2002-11-05 20:29:51 +00:00
Jens Maurer
f099aa9daf fix off-by-one error (Paolo Carlini)
[SVN r16113]
2002-11-04 22:30:47 +00:00
Jens Maurer
c5279710b7 "validation()" is static
[SVN r16112]
2002-11-04 22:23:40 +00:00
Jens Maurer
cfd19325f7 add bit width parameter "w" to mersenne_twister
[SVN r16111]
2002-11-04 22:22:28 +00:00
Jens Maurer
74bb784a58 test save/restore of distributions
[SVN r16110]
2002-11-04 22:20:34 +00:00
Jens Maurer
c6156071cc add operator<< and operator>> for save/restore of distributions
[SVN r16109]
2002-11-04 22:07:23 +00:00
Jens Maurer
c524749d74 add Adaptor template parameter, to convert output from underlying generator
to input of distribution


[SVN r16104]
2002-11-04 21:37:30 +00:00
Jens Maurer
69a4afbcab add reasonable defaults for distribution parameters
[SVN r16103]
2002-11-04 21:26:21 +00:00
Jens Maurer
9c14e18c0d copy with std::numeric_limits<>::infinity() == 0 or other garbage
[SVN r16047]
2002-11-01 20:02:24 +00:00
Jens Maurer
fa9e47e8d6 add "typename"
[SVN r16046]
2002-11-01 19:56:44 +00:00
Jens Maurer
e096e6b262 don't rely on max_value and min_value
[SVN r16045]
2002-11-01 19:56:30 +00:00
Jens Maurer
ad762a9a93 for some user-provided floating-point type RealType, the preferred approach
for using small integers in computations is RealType(3)
(Michael Stevens)


[SVN r15953]
2002-10-17 18:35:12 +00:00
Jens Maurer
2ba0e22f9b instantiate all distributions with float, double, and long double
don't use rand48 unless it's available
(Michael Stevens)


[SVN r15952]
2002-10-17 15:09:52 +00:00
Jens Maurer
839f42d50f always explicitly convert literals to RealType or result_type
[SVN r15950]
2002-10-17 02:39:04 +00:00
Jens Maurer
d804565056 fix comments that talk about not being Assignable
[SVN r15949]
2002-10-17 01:52:39 +00:00
Jens Maurer
d5f2838d36 check for working copy assignment
[SVN r15947]
2002-10-16 20:38:14 +00:00
Jens Maurer
3614a680c3 make distributions assignable
[SVN r15946]
2002-10-16 20:37:43 +00:00
Jens Maurer
4360890da7 make distributions assignable
[SVN r15941]
2002-10-16 12:54:08 +00:00
Jens Maurer
59f60b8f45 avoid "divison by zero" compiler warnings
[SVN r15940]
2002-10-16 12:52:41 +00:00
Jens Maurer
29c5b0888c add inquiry functions and reset()
[SVN r15939]
2002-10-16 12:51:47 +00:00
Jens Maurer
f2647c7fe5 measure speed for virtual function-based distributions (runtime replaceable)
[SVN r15938]
2002-10-16 12:50:21 +00:00
Jens Maurer
468ce4bb13 committee reflector version (no document number yet)
[SVN r15888]
2002-10-10 22:55:09 +00:00
Jens Maurer
fd10091f2e fix workaround for broken compilers
[SVN r15885]
2002-10-10 21:13:34 +00:00
Jens Maurer
eed9b9d314 fix typo in broken compiler workaround
[SVN r15884]
2002-10-10 21:11:03 +00:00
Jens Maurer
6bb81ab8a6 remove unused variable
[SVN r15883]
2002-10-10 21:10:21 +00:00
Jens Maurer
6b3bed4880 add seed() member function
[SVN r15882]
2002-10-10 21:09:58 +00:00
Jens Maurer
302131ea0c further work on the proposal
[SVN r15813]
2002-10-08 23:45:46 +00:00
Jens Maurer
8044d14309 make portable, don't shift >= word size
[SVN r15812]
2002-10-08 23:19:12 +00:00
Jens Maurer
5082a37f72 add subtract_with_carry_01
[SVN r15811]
2002-10-08 22:57:17 +00:00
Jens Maurer
7d4f6ec1ab fix "left shift >= width of type" warnings; they point out real problems
avoid other warnings


[SVN r15800]
2002-10-07 23:42:31 +00:00
Jens Maurer
881dcb2e99 avoid warning
[SVN r15799]
2002-10-07 23:42:01 +00:00
Jens Maurer
aab907449f avoid an "unused variable" warning
[SVN r15795]
2002-10-07 22:54:38 +00:00
Jens Maurer
3f2e333eb7 tight specification of subtract_with_carry and mersenne_twister
[SVN r15758]
2002-10-06 23:23:57 +00:00
Jens Maurer
8af66c76e5 make save/restore checking more thorough: retrieve many numbers from
the restored engine


[SVN r15757]
2002-10-06 23:23:23 +00:00
Jens Maurer
d7711b33bb add uniform_smallint and uniform_int
[SVN r15756]
2002-10-06 23:22:34 +00:00
Jens Maurer
6db9c8d942 rework to support canonical storage on non-volatile media
make operator== work in all cases


[SVN r15755]
2002-10-06 23:21:44 +00:00
Jens Maurer
da8ce36d27 integrate simple compute() function in-class
[SVN r15753]
2002-10-06 22:25:38 +00:00
Jens Maurer
45615b25c4 allow it to work with floating-point engines
[SVN r15731]
2002-10-05 11:12:33 +00:00
Jens Maurer
04e2b70459 check BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
[SVN r15728]
2002-10-05 10:45:53 +00:00
Jens Maurer
450532143b avoid partial specialization, for the benefit of MSVC
[SVN r15727]
2002-10-05 10:44:33 +00:00
Jens Maurer
787b7ed54b work-around for gcc "divide by zero" warning
[SVN r15726]
2002-10-05 08:55:43 +00:00
Jens Maurer
947248d1cd remove superfluous "const"
move static checking of template parameters to class scope


[SVN r15725]
2002-10-05 08:47:10 +00:00
Jens Maurer
a1a2463f79 use generic types for check() functions
[SVN r15724]
2002-10-05 08:37:39 +00:00
Jens Maurer
c502aab243 rename ranlux engines
[SVN r15695]
2002-10-03 22:24:55 +00:00
Jens Maurer
ec0884a4a6 rename ranlux engines
[SVN r15692]
2002-10-03 22:09:45 +00:00
Jens Maurer
efee238052 focus on luxury levels for naming
[SVN r15691]
2002-10-03 22:06:48 +00:00
Jens Maurer
dc6ac0c9ab complete rework of implementation, now supports reliable operator==
and operator>> according to specs


[SVN r15690]
2002-10-03 22:04:56 +00:00
Jens Maurer
9355b8df7a add missing #include (thanks to Ralf W. Grosse-Kunstleve)
[SVN r15686]
2002-10-03 21:29:42 +00:00
Jens Maurer
c67ab711af avoid MSVC internal compiler error by disabling assertions
(thanks to Greg Hawkins)


[SVN r15685]
2002-10-03 21:28:54 +00:00