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 |
|
Diggory Hardy
|
32343a6f37
|
Rearrange Cargo.toml
|
2021-08-17 09:55:53 +01:00 |
|
Diggory Hardy
|
e64df6631e
|
Alphanumeric: document usage with DistString trait
|
2021-08-17 09:51:53 +01:00 |
|
Arif Driessen
|
c831b8dd3b
|
Better random chars example
|
2021-08-17 09:49:34 +01:00 |
|
Vinzent Steinberg
|
067238f057
|
Remove rand_hc (#1156)
* Remove `rand_hc`
We no longer need it for `rand`, so it can be moved to the `rngs`
repository.
|
2021-08-05 14:59:07 +02:00 |
|
Vinzent Steinberg
|
b39e35fd84
|
Merge pull request #1136 from vks/zipf
rand_distr: Add Zipf distribution
|
2021-08-04 16:33:08 +02:00 |
|
Vinzent Steinberg
|
fe5a6e10d4
|
Zeta: Document cases where infinity is returned
|
2021-08-03 23:56:35 +02:00 |
|
Vinzent Steinberg
|
cf4b7e4671
|
Zeta: Fix infinite loop for small a
|
2021-08-02 23:34:14 +02:00 |
|
Vinzent Steinberg
|
72a63339b7
|
Zeta: Avoid division in rejection criterion
|
2021-07-30 14:29:04 +02:00 |
|
Vinzent Steinberg
|
a32cd08eb4
|
Zeta: Mention algorithm in doc comment
|
2021-07-30 13:21:21 +02:00 |
|
Vinzent Steinberg
|
e5aff9a10d
|
Zipf: Avoid division inside loop
|
2021-07-30 13:15:58 +02:00 |
|
Vinzent Steinberg
|
0f9243c4a6
|
Zipf: Add debug_assert for invariant
|
2021-07-28 19:12:58 +02:00 |
|
Vinzent Steinberg
|
b053683ee4
|
Zipf: Correctly calculate rejection ratio
|
2021-07-28 18:26:45 +02:00 |
|
Vinzent Steinberg
|
a746fd2369
|
Zipf: Fix inv_cdf for s = 1
|
2021-07-28 18:23:03 +02:00 |
|
Vinzent Steinberg
|
e19349c0cf
|
Give credit for implementation details
|
2021-07-28 17:39:22 +02:00 |
|
Michael Rosenberg
|
cc13807149
|
Typo
|
2021-07-27 16:36:06 -04:00 |
|
Michael Rosenberg
|
475de9a0f6
|
Updated readme
|
2021-07-27 16:35:07 -04:00 |
|
Michael Rosenberg
|
6b0f550d41
|
Removed getrandom feature
|
2021-07-27 16:32:08 -04:00 |
|
Michael Rosenberg
|
c8f3bac0f7
|
Updated changelog
|
2021-07-27 16:16:45 -04:00 |
|
Vinzent Steinberg
|
2a33433247
|
Zeta: Replace likely impossible if with debug_assert
|
2021-07-27 21:59:21 +02:00 |
|
Vinzent Steinberg
|
85f55b278a
|
Zeta and Zipf: Improve docs
|
2021-07-27 21:59:09 +02:00 |
|
Michael Rosenberg
|
894cf45fad
|
Propagate std and getrandom features
|
2021-07-27 15:52:23 -04:00 |
|
fossdd
|
a49e4ad730
|
Remove notice by Apache License Authors
The notice that we can add a license notice before every file can be ignored, as rand already has a own copyright notice.
|
2021-07-26 09:17:42 +00:00 |
|
Diggory Hardy
|
81b8a7542b
|
Merge pull request #1150 from rodrimati1992/master
Added docs about rand's use of const generics
|
2021-07-26 07:40:59 +01:00 |
|
rodrimati1992
|
d4256fcc6d
|
Added min_const_gen feature to README
|
2021-07-25 18:53:19 -03:00 |
|
rodrimati1992
|
a36047f0dc
|
Documented needed crate feature
|
2021-07-25 18:44:25 -03:00 |
|
rodrimati1992
|
82b819ab67
|
Documented needed crate feature
|
2021-07-25 18:42:43 -03:00 |
|
Diggory Hardy
|
46e11cd8e5
|
Merge pull request #1142 from vks/emscripten-i128
Remove special cases for emscripten
|
2021-07-22 19:51:27 +01:00 |
|