3242 Commits

Author SHA1 Message Date
Vinzent Steinberg
cfddee3a5f
Merge pull request #1186 from vks/rand_distr-0.4.2
Prepare rand_distr 0.4.2 release
2021-09-17 20:13:29 +02:00
Vinzent Steinberg
48463e05b9 Prepare rand_distr 0.4.2 release 2021-09-17 19:38:40 +02:00
Vinzent Steinberg
a9401e16b7 Mention that Fill supports floats 2021-09-15 18:55:08 +02:00
Diggory Hardy
3c8f92bfbb
Merge pull request #1180 from rust-random/work2
fill_via_chunks: use safe code via chunks_exact_mut on BE
2021-09-15 15:19:39 +01:00
Diggory Hardy
34a8f13d86 Replace ToLe with Observable, including as_byte_slice method 2021-09-15 09:31:34 +01:00
Diggory Hardy
19b7a76481 fill_via_chunks: make ToLe an unsafe trait 2021-09-14 08:17:26 +01:00
Diggory Hardy
93ade1a009 fill_via_chunks: better value names 2021-09-14 08:11:53 +01:00
Diggory Hardy
9972046a11 fill_via_chunks: make a generic function 2021-09-14 08:10:37 +01:00
Vinzent Steinberg
6e6b4ce80b
Merge pull request #1181 from kazcw/master
chacha: safer outputting
2021-09-13 15:20:37 +02:00
Diggory Hardy
ceb25f86ce
Merge pull request #1153 from rozbb/propagate-std-getrandom
Propagate std and getrandom features
2021-09-13 09:40:15 +01:00
Kaz Wesley
aa5b0e070f Revert "chacha: safer outputting: 0..4 loop"
This reverts commit 7d9607a3a3ea6816f7105e508b79cfe664ecc4d4.

(Had a bug, after fixing the bug perf was poor)
2021-09-12 13:02:21 -07:00
Kaz Wesley
7d9607a3a3 chacha: safer outputting: 0..4 loop 2021-09-12 12:53:11 -07:00
Kaz Wesley
7fa7c43170 chacha: safer outputting: manually unroll the loop 2021-09-12 09:25:01 -07:00
Vinzent Steinberg
e359b27c68
Merge pull request #1160 from vks/fix-unsafe-block
Fix unsoundness in `<BlockRng64 as RngCore>::next_u32`, with less `unsafe` code
2021-09-12 16:57:59 +02:00
Vinzent Steinberg
90b89cdbb2 Merge branch 'master' into fix-unsafe-block 2021-09-12 16:44:52 +02:00
Vinzent Steinberg
64ac013b2a Improve BlockRng64 test 2021-09-12 16:43:14 +02:00
Vinzent Steinberg
8006bc35e7 Use odd increments 2021-09-12 16:40:36 +02:00
Kaz Wesley
eb324041b9 chacha: safer outputting 2021-09-11 15:07:15 -07:00
Diggory Hardy
9684ebf1bf fill_via_chunks: use safe code via chunks_exact_mut on BE
This (specifically, using chunks_exact_mut) actually
improves performance substantially.
2021-09-11 20:26:48 +01:00
Diggory Hardy
9a00a43d84
Merge pull request #1178 from dhardy/work
ReseedingRng: more robust fork handling
2021-09-11 20:18:00 +01:00
Vinzent Steinberg
4addc7513b Use slightly more random DummyRng 2021-09-11 19:22:37 +02:00
Vinzent Steinberg
7533de0774 Fix reference in docs 2021-09-11 19:06:11 +02:00
Vinzent Steinberg
da3b367d48 Merge branch 'fix-clippy' into fix-unsafe-block 2021-09-11 18:47:10 +02:00
Diggory Hardy
0435f0fff3 Update changelog 2021-09-11 16:55:53 +01:00
Diggory Hardy
40c49c2d12 ReseedingRng: more robust fork handling 2021-09-11 15:55:04 +01:00
Vinzent Steinberg
b7380fde25 rand: Update changelog 2021-09-11 00:01:03 +02:00
Vinzent Steinberg
698ebe0535 Fix a clippy warning 2021-09-10 23:29:44 +02:00
Vinzent Steinberg
fcc5baf315
Merge pull request #1173 from bhgomes/no-std-fix
Fix no_std compatibility issues
2021-09-10 23:27:09 +02:00
Vinzent Steinberg
2bddede4b7 Merge branch 'master' into no-std-fix 2021-09-10 21:49:28 +02:00
Vinzent Steinberg
0932a58271
Merge pull request #1175 from connec/stable-test-all-features
Add `min_const_gen` to "all stable features" test invocation
2021-09-10 21:47:39 +02:00
Chris Connelly
9cbcfe4725 Split all feature test invocation for MSRV and non-MSRV
Since const generics are not stable in Rust 1.36.0, we cannot use the
`min_const_gen` feature when testing the MSRV.
2021-09-10 17:30:13 +01:00
Vinzent Steinberg
78ac3f2046
Merge pull request #1176 from vks/fix-nightly
Fix tests on nightly
2021-09-10 18:13:10 +02:00
Vinzent Steinberg
85c9bc57bf Fix tests on nightly
This basically requires fixing `packed_simd_2` by upgrading the minimal
version.
2021-09-10 15:23:11 +02:00
Vinzent Steinberg
cf00e375fe
Merge pull request #1174 from saona-raimundo/master
SkewNormal distribution implementation
2021-09-10 15:13:32 +02:00
Vinzent Steinberg
f7f9287071 Merge branch 'stable-test-all-features' into no-std-fix 2021-09-10 15:06:17 +02:00
Chris Connelly
cda046507d Add min_const_gen to "all stable features" test invocation
`min_const_gen` is a stable feature, but was not added to this test
invocation when it was introduced.

Unblocks #1173.
2021-09-10 01:36:47 +01:00
raimundo saona
6df504a590 Correcting a test 2021-09-09 21:15:12 +02:00
raimundo saona
36ee8236c4 Change from statrs to special for usage of special functions in tests 2021-09-09 21:08:55 +02:00
raimundo saona
dbf7e949a4 Add test for infinite location in skew normal 2021-09-09 21:03:19 +02:00
Raimundo Saona
84e2b1986b
Merge branch 'master' into master 2021-09-09 20:58:54 +02:00
raimundo saona
3f33162400 Add documentation and test for NAN samples 2021-09-09 20:36:56 +02:00
Vinzent Steinberg
10764d81fe
Merge pull request #1171 from dsaxton/frechet-dist
Implement Frechet
2021-09-08 23:03:59 +02:00
Daniel Saxton
99da1ac2e2 Add to changelog 2021-09-07 16:47:47 -05:00
Vinzent Steinberg
4e99eeed49 Try to fix test on MIPS 2021-09-07 20:55:36 +02:00
Vinzent Steinberg
0c5a5f9d41 Simplify dummy RNG for BlockRng test
We no longer implement the non-block step RNG.
2021-09-07 18:25:18 +02:00
Brandon H. Gomes
6d4baefac7
move min_const_gen test to nightly workflow 2021-09-06 12:49:40 -04:00
Brandon H. Gomes
f5cfbc4b19
revert sample_efraimidis_spirakis and fix suggestions 2021-09-06 12:19:39 -04:00
raimundo saona
7577c39da8 Correcting use of std crate by falling back to core 2021-09-06 11:06:33 +02:00
raimundo saona
36fd688fb2 Update Changelog 2021-09-05 21:12:14 +02:00
raimundo saona
8eff02ab6c Implement skew normal distribution 2021-09-05 21:06:52 +02:00