2
0
mirror of https://github.com/boostorg/random.git synced 2026-01-19 04:22:17 +00:00

822 Commits

Author SHA1 Message Date
Matt Borland
4a4cdfe410 Merge pull request #123 from boostorg/undef
Fix -Wundef from xoshiro
2025-01-31 12:21:55 -05:00
Matt Borland
e00e4b27fe Fix -Wundef with new macro 2025-01-31 09:58:36 -05:00
Matt Borland
71ff3f6aaa Add configuration macro for C++17 hex float literals 2025-01-31 09:58:25 -05:00
Matt Borland
9d9f835927 Merge pull request #120 from boostorg/xoshiro128
Add the 128 bit xoshiro PRNGs
2025-01-30 19:40:26 -05:00
Matt Borland
0d4c9f403c Add doxygen of classes 2025-01-30 18:00:04 -05:00
Matt Borland
f213f27a8a Fix doc syntax errors 2025-01-30 17:50:35 -05:00
Matt Borland
111abda38c Update docs and performance 2025-01-30 16:20:08 -05:00
Matt Borland
963d75cf55 Add xoshiro128f 2025-01-30 16:20:08 -05:00
Matt Borland
5151e91492 Correct floating point min and max values 2025-01-30 16:20:08 -05:00
Matt Borland
3ee4c9b8f5 Add xoshiro128mm 2025-01-30 16:20:08 -05:00
Matt Borland
2f809444dd Add xoshiro128pp 2025-01-30 16:20:08 -05:00
Matt Borland
61455d6818 Enable use of 32 bit family 2025-01-30 16:20:08 -05:00
Matt Borland
e1b95577c4 Add 128 bit jump and long jump 2025-01-30 16:20:08 -05:00
Matt Borland
c33cbaeb31 Merge pull request #119 from boostorg/xoshiro512
Add 512 bit xoshiro family
2025-01-30 16:14:21 -05:00
Matt Borland
2567f7fc70 Update docs and recommendation 2025-01-30 14:29:45 -05:00
Matt Borland
c6bc559e5f Add xoshiro512d 2025-01-30 14:29:45 -05:00
Matt Borland
ab5173817c Fix xoshiro256d min and max 2025-01-30 14:29:45 -05:00
Matt Borland
627db23d17 Add xoshiro512mm 2025-01-30 14:29:45 -05:00
Matt Borland
a65d1f410a Add xoshiro512pp 2025-01-30 14:29:44 -05:00
Matt Borland
0690197c60 Merge pull request #118 from boostorg/add_xorshiro
Add 256 bit xoshiro family
2025-01-30 14:29:28 -05:00
Matt Borland
fa075862ad Rename generators 2025-01-30 12:49:33 -05:00
Matt Borland
847f403afb Update xoshiro256_plus to return doubles instead of uint64_ts 2025-01-30 12:42:02 -05:00
Matt Borland
bfb053bb1b Allow 64 bit seeds to be passed instead of a 32 bit limit 2025-01-30 12:41:15 -05:00
Matt Borland
0d44298d45 Only test double conversion on MSVC with C++ >= 20 2025-01-30 11:52:48 -05:00
Matt Borland
aeb9659268 Replace macros with stricter template parameters 2025-01-30 11:11:54 -05:00
Matt Borland
e7e70650ba Use base class constructors 2025-01-30 09:33:46 -05:00
Matt Borland
28108ba399 Update performance numbers 2025-01-30 09:23:51 -05:00
Matt Borland
2974f039ee Switch to CTRP for performance improvements 2025-01-30 09:23:39 -05:00
Matt Borland
9b1190b1cc Add all rule of 5 overloads 2025-01-30 09:12:12 -05:00
Matt Borland
4c62a1b35e Fix conversion warning 2025-01-30 09:11:57 -05:00
Matt Borland
3d38bf3a8d Add copy constructor definitions to the derived classes 2025-01-30 08:48:01 -05:00
Matt Borland
7882436e98 Use pre-existing macros to define required functions 2025-01-30 08:29:44 -05:00
Matt Borland
5aa3db31fe Make explicit our rule of 5 instead of defaulting 2025-01-29 20:56:06 -05:00
Matt Borland
0d11f01ed5 Fix seed and init from iter pair 2025-01-29 17:55:05 -05:00
Matt Borland
30dcc3ca4b Update docs 2025-01-29 17:11:31 -05:00
Matt Borland
38683a048f Add to performance testing 2025-01-29 17:04:50 -05:00
Matt Borland
7850ba110b Update main header 2025-01-29 17:04:33 -05:00
Matt Borland
bc011f5ef3 Add comparison to reference impl 2025-01-29 16:46:01 -05:00
Matt Borland
3559ca6135 Add xoshiro256_starstar basic testing 2025-01-29 16:44:08 -05:00
Matt Borland
ad7309121e Add xoshiro256_starstar impl 2025-01-29 16:43:55 -05:00
Matt Borland
e6382e7945 Fix doc string 2025-01-29 16:36:15 -05:00
Matt Borland
7c44d3043a Move jump and long jump into base class 2025-01-29 16:33:52 -05:00
Matt Borland
fced5677d4 Add conditional on C++17 2025-01-29 16:14:17 -05:00
Matt Borland
1e8f02957a Add comparison testing 2025-01-29 16:14:07 -05:00
Matt Borland
1c17c07e83 Add basic test set 2025-01-29 15:51:16 -05:00
Matt Borland
c521799914 Add xoshiro256+ impl 2025-01-29 15:50:09 -05:00
Matt Borland
735f5eb2f9 Fix jump impl 2025-01-29 15:36:12 -05:00
Matt Borland
13edcb1561 Add test against original C implementation 2025-01-29 15:35:27 -05:00
Matt Borland
026f6e1b74 Add state function and fix linkage 2025-01-29 14:42:34 -05:00
Matt Borland
0ca2520a66 Add xoshiro256_plusplus tests 2025-01-29 14:42:20 -05:00