3226 Commits

Author SHA1 Message Date
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
Vinzent Steinberg
0f0d66f947 Add license header 2021-09-05 20:18:44 +02:00
Vinzent Steinberg
d8fd7ba6c0 Fix BlockRng::next_u32 2021-09-05 20:17:26 +02:00
Vinzent Steinberg
251bda1eb4 Add test for BlockRng and BlockRng64 2021-09-05 20:17:12 +02:00
Brandon H. Gomes
1544c728cd
fix no_std/alloc/std compatibility issues
- using min_const_gen on no_std fails to compile because of a bad import
- sample_efraimidis_spirakis only requires alloc but it was marked with
  a std requirement
2021-09-04 18:33:39 -04:00
Daniel Saxton
d63324a596 Fix backticks 2021-08-31 19:37:23 -05:00
Daniel Saxton
4dae4c3023 Implement Frechet 2021-08-31 19:16:11 -05:00
Diggory Hardy
7c5ceea909
Merge pull request #1168 from dsaxton/gumbel
Implement Gumbel in rand_distr
2021-08-31 14:26:22 +01:00
Daniel Saxton
6f531c5929 Update doc 2021-08-30 16:30:06 -05:00
Daniel Saxton
1f8716a27e Use array 2021-08-30 16:19:47 -05:00
Daniel Saxton
815de9127a Try using alloc 2021-08-29 21:53:07 -05:00
Daniel Saxton
0348413f8e Nitpick grammar 2021-08-29 14:14:30 -05:00
Daniel Saxton
0ca4413817 Try fix tests 2021-08-29 13:57:57 -05:00
Daniel Saxton
df1d64c366 Add density 2021-08-29 13:55:26 -05:00
Daniel Saxton
0342ca9e61 Move distribution 2021-08-29 13:48:11 -05:00
Daniel Saxton
106fb361ed Update Error enum 2021-08-29 13:37:36 -05:00
Daniel Saxton
6708a13ed0
Update rand_distr/src/gumbel.rs
Co-authored-by: Vinzent Steinberg <Vinzent.Steinberg@gmail.com>
2021-08-29 13:34:54 -05:00