Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
pitdicker committed Mar 26, 2018
1 parent 242ec20 commit 1bf9b6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ You may also find the [Update Guide](UPDATING.md) useful.
- All PRNGs are now portable across big- and little-endian architectures. (#209)
- `Isaac64Rng::next_u32` no longer throws away half the results. (#209)
- Add `IsaacRng::new_from_u64` and `Isaac64Rng::new_from_u64`. (#209)
- Remove `IsaacWordRng` wrapper. (#277)
- Add the HC-128 CSPRNG `Hc128Rng`. (#210)
- Add `ChaChaRng::set_rounds` method. (#243)
- Changes to `JitterRng` to get its size down from 2112 to 24 bytes. (#251)
Expand All @@ -71,6 +70,7 @@ You may also find the [Update Guide](UPDATING.md) useful.
- Remove support for NaCl. (#225)
- WASM support for `OsRng` via stdweb, behind the `stdweb` feature. (#272, #336)
- Use `getrandom` on more platforms for Linux, and on Android. (#338)
- Use the `SecRandomCopyBytes` interface on macOS. (#322)
- On systems that do not have a syscall interface, only keep a single file descriptor open for `OsRng`. (#239)
- On Unix, first try a single read from `/dev/random`, then `/dev/urandom`. (#338)
- Better error handling and reporting in `OsRng` (using new error type). (#225)
Expand All @@ -90,7 +90,6 @@ You may also find the [Update Guide](UPDATING.md) useful.
- Use widening multiply method for much faster integer range reduction. (#274)
- `Uniform` distributions for `bool` uses `Range`. (#274)
- `Uniform` distributions for `bool` uses sign test. (#274)
- Add `HighPrecision01` distribution. (#320)


## [0.4.2] - 2018-01-06
Expand Down
8 changes: 2 additions & 6 deletions UPDATING.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,18 +226,14 @@ distribution).

The `Open01` and `Closed01` wrappers have been removed. `Rng::gen()` (via
`Uniform`) now yields samples from `(0, 1)` for floats; i.e. the same as the old
`Open01`. This is considered sufficient for most uses. If you require more
precision, use the `HighPrecision01` distribution.
`Open01`. This is considered sufficient for most uses.

#### Uniform distributions

Three new distributions are available:
Two new distributions are available:

- `Uniform` produces uniformly-distributed samples for many different types,
and acts as a replacement for `Rand`
- `HighPrecision01` generates floating-point numbers in the range `[0, 1)`
(similar to `Uniform`) but with as much precision as the floating point
format can represent
- `Alphanumeric` samples `char`s from the ranges `a-z A-Z 0-9`

##### Ranges
Expand Down

0 comments on commit 1bf9b6b

Please sign in to comment.