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

50 Commits

Author SHA1 Message Date
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
Jens Maurer
75a8910b3e avoid ambiguity in std::sqrt() with an int argument
[SVN r8182]
2000-11-12 20:57:28 +00:00
Jens Maurer
634dd4d18c always use boost:: prefix for intXX_t to avoid ambiguity
[SVN r8177]
2000-11-12 18:39:20 +00:00
Jens Maurer
fb876dd3ba Need to use (void) &x to avoid "unused variable" warnings with Comeau C++.
[SVN r7937]
2000-10-14 07:32:15 +00:00
Beman Dawes
9563a3135c Broken compiler workaround for abs not it namespace std
[SVN r7936]
2000-10-14 00:38:36 +00:00
Jens Maurer
9bc317f976 use an explicit cast to int32_t for arguments to rand48
(avoids ambiguity for Metrowerks, which defines int32_t as long)


[SVN r7935]
2000-10-13 23:17:20 +00:00
Jens Maurer
0caeb7b039 used BOOST_NO_INTEGRAL_INT64_T to avoid boost::rand48 on some compilers
[SVN r7875]
2000-09-29 22:08:21 +00:00
Jens Maurer
355707b4ab use BOOST_NO_INT64_T to check for availability of 64 bit integer support
[SVN r7782]
2000-09-23 16:33:57 +00:00
Beman Dawes
d3f2697312 This commit was generated by cvs2svn to compensate for changes in r4,
which included commits to RCS files with non-trunk default branches.


[SVN r7621]
2000-07-07 16:04:40 +00:00