version 0.1.3
This commit is contained in:
parent
1f790314d1
commit
7017687a9a
|
@ -7,7 +7,7 @@
|
|||
|
||||
[package]
|
||||
name = "fixed"
|
||||
version = "0.1.2"
|
||||
version = "0.1.3"
|
||||
authors = ["Trevor Spiteri <tspiteri@ieee.org>"]
|
||||
description = "Fixed-point numbers"
|
||||
documentation = "https://docs.rs/fixed"
|
||||
|
|
56
README.md
56
README.md
|
@ -35,10 +35,10 @@ fixed-point numbers.
|
|||
|
||||
## What’s new
|
||||
|
||||
### Version 0.1.3 news (unreleased)
|
||||
### Version 0.1.3 news (2018-08-23)
|
||||
|
||||
* The `f16` feature was added with its methods [`from_f16`] and
|
||||
[`to_f16`].
|
||||
* The `f16` feature was added, and new methods [`from_f16`] and
|
||||
[`to_f16`] were added.
|
||||
|
||||
[`from_f16`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI32.html#method.from_f16
|
||||
[`to_f16`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI32.html#method.to_f16
|
||||
|
@ -50,10 +50,10 @@ fixed-point numbers.
|
|||
* New methods [`is_positive`] and [`is_negative`] were added to
|
||||
signed fixed-point numbers.
|
||||
|
||||
[`from_f32`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI32.html#method.from_f32
|
||||
[`from_f64`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI32.html#method.from_f64
|
||||
[`is_negative`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI32.html#method.is_negative
|
||||
[`is_positive`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI32.html#method.is_positive
|
||||
[`from_f32`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI32.html#method.from_f32
|
||||
[`from_f64`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI32.html#method.from_f64
|
||||
[`is_negative`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI32.html#method.is_negative
|
||||
[`is_positive`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI32.html#method.is_positive
|
||||
|
||||
### Version 0.1.1 news (2018-08-11)
|
||||
|
||||
|
@ -65,15 +65,15 @@ fixed-point numbers.
|
|||
* New methods [`int`] and [`frac`] were added.
|
||||
* Support for multiplication and division by integers was added.
|
||||
|
||||
[`frac_bits`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI32.html#method.frac_bits
|
||||
[`frac`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI32.html#method.frac
|
||||
[`from_int`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI32.html#method.from_int
|
||||
[`int_bits`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI32.html#method.int_bits
|
||||
[`to_int_ceil`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI32.html#method.to_int_ceil
|
||||
[`to_int_floor`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI32.html#method.to_int_floor
|
||||
[`to_int_round`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI32.html#method.to_int_round
|
||||
[`to_int`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI32.html#method.to_int
|
||||
[`int`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI32.html#method.int
|
||||
[`frac_bits`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI32.html#method.frac_bits
|
||||
[`frac`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI32.html#method.frac
|
||||
[`from_int`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI32.html#method.from_int
|
||||
[`int_bits`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI32.html#method.int_bits
|
||||
[`to_int_ceil`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI32.html#method.to_int_ceil
|
||||
[`to_int_floor`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI32.html#method.to_int_floor
|
||||
[`to_int_round`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI32.html#method.to_int_round
|
||||
[`to_int`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI32.html#method.to_int
|
||||
[`int`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI32.html#method.int
|
||||
|
||||
### Other releases
|
||||
|
||||
|
@ -104,7 +104,7 @@ it in your crate, add it as a dependency inside [*Cargo.toml*]:
|
|||
|
||||
```toml
|
||||
[dependencies]
|
||||
fixed = "0.1.2"
|
||||
fixed = "0.1.3"
|
||||
```
|
||||
|
||||
You also need to declare it by adding this to your crate root (usually
|
||||
|
@ -128,7 +128,7 @@ To enable the feature, you can add the dependency like this to
|
|||
|
||||
```toml
|
||||
[dependencies.fixed]
|
||||
version = "0.1.2"
|
||||
version = "0.1.3"
|
||||
features = ["f16"]
|
||||
```
|
||||
|
||||
|
@ -155,16 +155,16 @@ additional terms or conditions.
|
|||
[*typenum* crate]: https://crates.io/crates/typenum
|
||||
[LICENSE-APACHE]: https://www.apache.org/licenses/LICENSE-2.0
|
||||
[LICENSE-MIT]: https://opensource.org/licenses/MIT
|
||||
[`FixedI128`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI128.html
|
||||
[`FixedI16`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI16.html
|
||||
[`FixedI32`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI32.html
|
||||
[`FixedI64`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI64.html
|
||||
[`FixedI8`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI8.html
|
||||
[`FixedU128`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedU128.html
|
||||
[`FixedU16`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedU16.html
|
||||
[`FixedU32`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedU32.html
|
||||
[`FixedU64`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedU64.html
|
||||
[`FixedU8`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedU8.html
|
||||
[`FixedI128`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI128.html
|
||||
[`FixedI16`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI16.html
|
||||
[`FixedI32`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI32.html
|
||||
[`FixedI64`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI64.html
|
||||
[`FixedI8`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI8.html
|
||||
[`FixedU128`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedU128.html
|
||||
[`FixedU16`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedU16.html
|
||||
[`FixedU32`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedU32.html
|
||||
[`FixedU64`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedU64.html
|
||||
[`FixedU8`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedU8.html
|
||||
[`f16`]: https://docs.rs/half/^1/half/struct.f16.html
|
||||
[channels]: https://doc.rust-lang.org/book/second-edition/appendix-07-nightly-rust.html
|
||||
[const generics]: https://github.com/rust-lang/rust/issues/44580
|
||||
|
|
|
@ -5,11 +5,11 @@ modification, are permitted in any medium without royalty provided the
|
|||
copyright notice and this notice are preserved. This file is offered
|
||||
as-is, without any warranty. -->
|
||||
|
||||
Version 0.1.3 news (unreleased)
|
||||
Version 0.1.3 (2018-08-23)
|
||||
==========================
|
||||
|
||||
* The `f16` feature was added with its methods `from_f16` and
|
||||
`to_f16`.
|
||||
* The `f16` feature was added, and new methods `from_f16` and
|
||||
`to_f16` were added.
|
||||
|
||||
Version 0.1.2 (2018-08-15)
|
||||
==========================
|
||||
|
|
|
@ -65,7 +65,7 @@ it in your crate, add it as a dependency inside [*Cargo.toml*]:
|
|||
|
||||
```toml
|
||||
[dependencies]
|
||||
fixed = "0.1.2"
|
||||
fixed = "0.1.3"
|
||||
```
|
||||
|
||||
You also need to declare it by adding this to your crate root (usually
|
||||
|
@ -89,7 +89,7 @@ To enable the feature, you can add the dependency like this to
|
|||
|
||||
```toml
|
||||
[dependencies.fixed]
|
||||
version = "0.1.2"
|
||||
version = "0.1.3"
|
||||
features = ["f16"]
|
||||
```
|
||||
|
||||
|
@ -132,7 +132,7 @@ additional terms or conditions.
|
|||
*/
|
||||
#![no_std]
|
||||
#![warn(missing_docs)]
|
||||
#![doc(html_root_url = "https://docs.rs/fixed/0.1.2")]
|
||||
#![doc(html_root_url = "https://docs.rs/fixed/0.1.3")]
|
||||
#![doc(test(attr(deny(warnings))))]
|
||||
#![cfg_attr(nightly_repr_transparent, feature(repr_transparent))]
|
||||
|
||||
|
|
Loading…
Reference in New Issue