2
0
mirror of https://github.com/boostorg/random.git synced 2026-01-19 16:32:16 +00:00
Commit Graph

58 Commits

Author SHA1 Message Date
John Maddock
9629ae44a5 Large patch from Ulrich Eckhardt to fix support for EVC++ 4.
[SVN r30670]
2005-08-25 16:27:28 +00:00
John Maddock
07c65f3760 Need to suppress excess warnings when using Borland, otherwise compilation fails.
[SVN r29611]
2005-06-16 09:56:21 +00:00
Douglas Gregor
9eacbed88b Revert Jens Maurer's changes until after release
[SVN r29116]
2005-05-21 15:57:01 +00:00
Jens Maurer
95da1d7aa1 check ctor and seeding for integral types and template<class Generator>
[SVN r29078]
2005-05-19 21:31:20 +00:00
Jens Maurer
b450fc98f2 fix conceptual maths bug in seeding for mersenne_twister<>
[SVN r28270]
2005-04-15 09:28:57 +00:00
Stefan Slapeta
4feb6aa9ba replaced BOOST_TEST
[SVN r27058]
2005-02-03 14:39:06 +00:00
Michael Stevens
3e53b922c7 Work around GCC 3.3 problem with
max() { (std::numeric_limit<xx>::max) (); }
Causing and infinite recursion


[SVN r24496]
2004-08-16 09:09:35 +00:00
Douglas Gregor
c5d8766e66 Converted to Boost Software License, Version 1.0
[SVN r24096]
2004-07-27 03:43:34 +00:00
Jens Maurer
3ab77175bc add seed() member functions as per latest WG21 paper (Mario Ruetti)
[SVN r22911]
2004-05-24 20:56:58 +00:00
Eric Niebler
5e99463ce1 remove minmax hack from win32.hpp and fix all places that could be affected by the minmax macros
[SVN r22394]
2004-02-26 18:27:02 +00:00
Jens Maurer
9d1370646a fix last change: some platforms don't have uint64_t
[SVN r21931]
2004-01-25 21:54:07 +00:00
Jens Maurer
616236112f check for overflow/underflow in uniform_int<> with large base_type (Mario Rütti)
[SVN r21778]
2004-01-15 19:53:06 +00:00
Jens Maurer
5b317a631d test for degenerate case uniform_int<>(1,1) (Alan Stokes and others)
[SVN r21703]
2004-01-13 20:13:39 +00:00
Dave Abrahams
9496141de5 Fix misplaced brace
[SVN r19077]
2003-07-11 22:22:07 +00:00
Jens Maurer
372ebcbaf0 if we don't have either wstreambuf or wstring, we won't have wstringstream
[SVN r19048]
2003-07-11 13:11:46 +00:00
Jens Maurer
5afe5eba35 merge with wg21_random_proposal branch
[SVN r18950]
2003-07-06 21:53:42 +00:00
Jens Maurer
ba41696f9e MSVC portability improvements (Kirill Lapshin)
[SVN r18162]
2003-04-02 23:22:00 +00:00
John Maddock
332d4ae1a9 Added parenthesis to clarify operator precidence
for Borland C++ Builder compiler - this is basically
a warning suppression - however without this so many
warnings are issued that the compiler gives up...
Note that this does still not fix the "Out of memory"
error, but it does get us a little closer...


[SVN r18078]
2003-03-25 11:42:45 +00:00
Beman Dawes
bbc8c5af38 Disable Intel 7.0 on Win32 because of loop
[SVN r17581]
2003-02-21 19:24:36 +00:00
Beman Dawes
e3b9ebf55a fix compilers not putting clib in std
[SVN r17580]
2003-02-21 18:48:56 +00:00
Dave Abrahams
7cf0c648ec Compiler workarounds
[SVN r16911]
2003-01-15 15:43:36 +00:00
Jens Maurer
07287443e8 work around EDG / STLport overload ambiguity
[SVN r16683]
2002-12-22 22:24:42 +00:00
Dave Abrahams
d954a4156d fix ambiguity for Sun CC
[SVN r16520]
2002-12-04 22:57:35 +00:00
Jens Maurer
d6933e48da test 48bit floating-point ranlux
[SVN r16124]
2002-11-05 20:30:46 +00:00
Jens Maurer
74bb784a58 test save/restore of distributions
[SVN r16110]
2002-11-04 22:20:34 +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
d5f2838d36 check for working copy assignment
[SVN r15947]
2002-10-16 20:38:14 +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
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
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
fccd5609fb new client-side validation framework
add testing for ranlux and lagged_fibonacci engines
streamlined distribution instantiation


[SVN r15661]
2002-10-03 00:05:46 +00:00
Beman Dawes
8d4f7e75a0 fix to BOOST_MSVC fix!
[SVN r14525]
2002-07-18 19:01:59 +00:00
Dave Abrahams
c46b7ee9d7 Fix unversioned VC++ checks
[SVN r14436]
2002-07-13 12:26:19 +00:00
Jens Maurer
64625f5c1a really fix endless loop (reported by Douglas Gregor and Fernando Cacciola)
[SVN r13178]
2002-03-11 20:31:05 +00:00
Jens Maurer
f529d8c4c2 add test case for endless loop (by Fernando Cacciola)
[SVN r12134]
2001-12-20 21:23:10 +00:00
Jens Maurer
7ecc5ad4d1 remove incorrect comment
[SVN r11857]
2001-12-02 19:33:41 +00:00
Jens Maurer
04b22afc90 add test for situation in which an endless loop could occur
[SVN r11796]
2001-11-28 21:42:05 +00:00
Jens Maurer
44f6a441f7 change tabs to spaces
[SVN r11738]
2001-11-19 22:13:04 +00:00
Jens Maurer
ec11b8481d adjust to removed iterator interface
[SVN r11699]
2001-11-14 22:00:05 +00:00
Jens Maurer
18b719da13 avoid "copy is equal to original" test, it may not work
[SVN r11003]
2001-09-03 18:23:41 +00:00
Jens Maurer
28f581cebd use explicit typecast for mersenne_twister seeding
[SVN r10052]
2001-05-07 21:24:23 +00:00
Jens Maurer
a9b80798ab adapt to Boost.Test library
[SVN r10023]
2001-05-05 20:18:38 +00:00
Beman Dawes
449fc829bf Correct spelling in Jens' licenses
[SVN r9372]
2001-03-01 18:54:36 +00:00
Jens Maurer
f75e5abe0f avoid misinterpretation of an initialization as a declaration
[SVN r8875]
2001-02-02 21:26:06 +00:00
Jens Maurer
6c52dd52bf copy-initialization instead of direct-initialization in tests
[SVN r8590]
2001-01-14 18:27:32 +00:00
Jens Maurer
f805a63fdd avoid ambiguities with newly introduced std::fabs
[SVN r8565]
2001-01-12 21:54:38 +00:00
Jens Maurer
4d909b47d8 changed std::abs to std::fabs due to continued trouble
[SVN r8564]
2001-01-12 21:21:27 +00:00
Jens Maurer
f833276011 adjust portability fix, avoid time-consuming but useless test
[SVN r8512]
2001-01-06 11:19:44 +00:00