version 0.1.3

This commit is contained in:
Trevor Spiteri 2018-08-23 13:32:59 +02:00
parent 1f790314d1
commit 7017687a9a
4 changed files with 35 additions and 35 deletions

View File

@ -7,7 +7,7 @@
[package] [package]
name = "fixed" name = "fixed"
version = "0.1.2" version = "0.1.3"
authors = ["Trevor Spiteri <tspiteri@ieee.org>"] authors = ["Trevor Spiteri <tspiteri@ieee.org>"]
description = "Fixed-point numbers" description = "Fixed-point numbers"
documentation = "https://docs.rs/fixed" documentation = "https://docs.rs/fixed"

View File

@ -35,10 +35,10 @@ fixed-point numbers.
## Whats new ## Whats 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 * The `f16` feature was added, and new methods [`from_f16`] and
[`to_f16`]. [`to_f16`] were added.
[`from_f16`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI32.html#method.from_f16 [`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 [`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 * New methods [`is_positive`] and [`is_negative`] were added to
signed fixed-point numbers. signed fixed-point numbers.
[`from_f32`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI32.html#method.from_f32 [`from_f32`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI32.html#method.from_f32
[`from_f64`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI32.html#method.from_f64 [`from_f64`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI32.html#method.from_f64
[`is_negative`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI32.html#method.is_negative [`is_negative`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI32.html#method.is_negative
[`is_positive`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI32.html#method.is_positive [`is_positive`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI32.html#method.is_positive
### Version 0.1.1 news (2018-08-11) ### Version 0.1.1 news (2018-08-11)
@ -65,15 +65,15 @@ fixed-point numbers.
* New methods [`int`] and [`frac`] were added. * New methods [`int`] and [`frac`] were added.
* Support for multiplication and division by integers was 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_bits`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI32.html#method.frac_bits
[`frac`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI32.html#method.frac [`frac`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI32.html#method.frac
[`from_int`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI32.html#method.from_int [`from_int`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI32.html#method.from_int
[`int_bits`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI32.html#method.int_bits [`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.2/fixed/struct.FixedI32.html#method.to_int_ceil [`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.2/fixed/struct.FixedI32.html#method.to_int_floor [`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.2/fixed/struct.FixedI32.html#method.to_int_round [`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.2/fixed/struct.FixedI32.html#method.to_int [`to_int`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI32.html#method.to_int
[`int`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI32.html#method.int [`int`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI32.html#method.int
### Other releases ### Other releases
@ -104,7 +104,7 @@ it in your crate, add it as a dependency inside [*Cargo.toml*]:
```toml ```toml
[dependencies] [dependencies]
fixed = "0.1.2" fixed = "0.1.3"
``` ```
You also need to declare it by adding this to your crate root (usually 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 ```toml
[dependencies.fixed] [dependencies.fixed]
version = "0.1.2" version = "0.1.3"
features = ["f16"] features = ["f16"]
``` ```
@ -155,16 +155,16 @@ additional terms or conditions.
[*typenum* crate]: https://crates.io/crates/typenum [*typenum* crate]: https://crates.io/crates/typenum
[LICENSE-APACHE]: https://www.apache.org/licenses/LICENSE-2.0 [LICENSE-APACHE]: https://www.apache.org/licenses/LICENSE-2.0
[LICENSE-MIT]: https://opensource.org/licenses/MIT [LICENSE-MIT]: https://opensource.org/licenses/MIT
[`FixedI128`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI128.html [`FixedI128`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI128.html
[`FixedI16`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI16.html [`FixedI16`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI16.html
[`FixedI32`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI32.html [`FixedI32`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI32.html
[`FixedI64`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI64.html [`FixedI64`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI64.html
[`FixedI8`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedI8.html [`FixedI8`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedI8.html
[`FixedU128`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedU128.html [`FixedU128`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedU128.html
[`FixedU16`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedU16.html [`FixedU16`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedU16.html
[`FixedU32`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedU32.html [`FixedU32`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedU32.html
[`FixedU64`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedU64.html [`FixedU64`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedU64.html
[`FixedU8`]: https://docs.rs/fixed/0.1.2/fixed/struct.FixedU8.html [`FixedU8`]: https://docs.rs/fixed/0.1.3/fixed/struct.FixedU8.html
[`f16`]: https://docs.rs/half/^1/half/struct.f16.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 [channels]: https://doc.rust-lang.org/book/second-edition/appendix-07-nightly-rust.html
[const generics]: https://github.com/rust-lang/rust/issues/44580 [const generics]: https://github.com/rust-lang/rust/issues/44580

View File

@ -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 copyright notice and this notice are preserved. This file is offered
as-is, without any warranty. --> 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 * The `f16` feature was added, and new methods `from_f16` and
`to_f16`. `to_f16` were added.
Version 0.1.2 (2018-08-15) Version 0.1.2 (2018-08-15)
========================== ==========================

View File

@ -65,7 +65,7 @@ it in your crate, add it as a dependency inside [*Cargo.toml*]:
```toml ```toml
[dependencies] [dependencies]
fixed = "0.1.2" fixed = "0.1.3"
``` ```
You also need to declare it by adding this to your crate root (usually 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 ```toml
[dependencies.fixed] [dependencies.fixed]
version = "0.1.2" version = "0.1.3"
features = ["f16"] features = ["f16"]
``` ```
@ -132,7 +132,7 @@ additional terms or conditions.
*/ */
#![no_std] #![no_std]
#![warn(missing_docs)] #![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))))] #![doc(test(attr(deny(warnings))))]
#![cfg_attr(nightly_repr_transparent, feature(repr_transparent))] #![cfg_attr(nightly_repr_transparent, feature(repr_transparent))]