3152 Commits

Author SHA1 Message Date
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
Daniel Saxton
bd1d12913b Clean 2021-08-29 09:54:01 -05:00
Daniel Saxton
f66762418a Add tests 2021-08-29 09:50:18 -05:00
Daniel Saxton
f2621e761e fixup 2021-08-28 14:38:22 -05:00
Daniel Saxton
650783831e Implement Gumbel 2021-08-28 14:34:45 -05:00
Vinzent Steinberg
693d3c1f0a Fix test 2021-08-26 14:07:38 +02:00
Vinzent Steinberg
ee1aacd257
Merge pull request #1164 from vks/spelling
Fix spelling
2021-08-25 20:31:26 +02:00
Vinzent Steinberg
97ba8f8ecd
Merge pull request #1151 from fossdd/patch-1
Remove notice by Apache License Authors
2021-08-24 20:49:08 +02:00
Vinzent Steinberg
36c16383f8 Fix more spelling mistakes 2021-08-24 20:44:31 +02:00
Vinzent Steinberg
2a115e183b Merge branch 'master' into remove-apache-notice 2021-08-24 20:42:11 +02:00
Vinzent Steinberg
564055aed9 Remove notice by Apache License Authors for all other crates 2021-08-24 20:39:31 +02:00
Vinzent Steinberg
8bdee0d464 Remove outdated comment
`TryFrom` does not support floats.
2021-08-24 18:14:12 +02:00
Vinzent Steinberg
eb1de23ff5 Fix spelling 2021-08-24 18:09:00 +02:00
Vinzent Steinberg
d5dbf47c25 Fix BlockRng::next_* logic 2021-08-24 17:04:10 +02:00
Vinzent Steinberg
1a3c2a9a3b rand_chacha: Test that next_u32 and next_u64 can be mixed 2021-08-23 18:25:17 +02:00
Vinzent Steinberg
b86ec29224 BlockRng::next_u32: Make sure to use half-entry at the previous index 2021-08-23 17:55:18 +02:00
Vinzent Steinberg
e73fe3a4bc Simplify cfg logic 2021-08-23 17:49:59 +02:00
Vinzent Steinberg
e5ded134f5
Merge pull request #1161 from vks/fix-clippy
rand: Fix clippy warnings
2021-08-20 15:56:10 +02:00
Vinzent Steinberg
659a12d89b rand: Fix clippy warnings 2021-08-19 20:55:30 +02:00
Vinzent Steinberg
db6e81f34e Bump versions 2021-08-19 20:49:50 +02:00
Vinzent Steinberg
536e18b0ea rand: Update changelog 2021-08-19 20:45:09 +02:00
Vinzent Steinberg
e85a8759aa rand_core: Update changelog 2021-08-19 20:35:45 +02:00
Vinzent Steinberg
9b9a89f055 Fix unsoundness in <BlockRng64 as RngCore>::next_u32
Many thanks to @joshlf for reporting this issue.

Fixes #1158.
2021-08-19 20:20:42 +02:00
Vinzent Steinberg
54e219d7b2
Merge pull request #1157 from rust-random/patch-1
Better random chars example (take 2)
2021-08-18 01:59:26 +02:00
Diggory Hardy
1996707ac2 Review feedback 2021-08-17 15:34:25 +01:00