version 0.1.1

This commit is contained in:
Trevor Spiteri 2018-08-11 21:10:03 +02:00
parent b6f64aa836
commit 10aca6f626
4 changed files with 17 additions and 17 deletions

View File

@ -7,7 +7,7 @@
[package] [package]
name = "fixed" name = "fixed"
version = "0.1.0" version = "0.1.1"
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,7 +35,7 @@ fixed-point numbers.
## Whats new ## Whats new
### Version 0.1.1 news (unreleased) ### Version 0.1.1 news (2018-08-11)
* Comparisons are now supported between all fixed-point numbers with * Comparisons are now supported between all fixed-point numbers with
the same underlying integer type. the same underlying integer type.
@ -93,7 +93,7 @@ it in your crate, add it as a dependency inside [*Cargo.toml*]:
```toml ```toml
[dependencies] [dependencies]
fixed = "0.1.0" fixed = "0.1.1"
``` ```
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
@ -125,15 +125,15 @@ 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.0/fixed/struct.FixedI128.html [`FixedI128`]: https://docs.rs/fixed/0.1.1/fixed/struct.FixedI128.html
[`FixedI16`]: https://docs.rs/fixed/0.1.0/fixed/struct.FixedI16.html [`FixedI16`]: https://docs.rs/fixed/0.1.1/fixed/struct.FixedI16.html
[`FixedI32`]: https://docs.rs/fixed/0.1.0/fixed/struct.FixedI32.html [`FixedI32`]: https://docs.rs/fixed/0.1.1/fixed/struct.FixedI32.html
[`FixedI64`]: https://docs.rs/fixed/0.1.0/fixed/struct.FixedI64.html [`FixedI64`]: https://docs.rs/fixed/0.1.1/fixed/struct.FixedI64.html
[`FixedI8`]: https://docs.rs/fixed/0.1.0/fixed/struct.FixedI8.html [`FixedI8`]: https://docs.rs/fixed/0.1.1/fixed/struct.FixedI8.html
[`FixedU128`]: https://docs.rs/fixed/0.1.0/fixed/struct.FixedU128.html [`FixedU128`]: https://docs.rs/fixed/0.1.1/fixed/struct.FixedU128.html
[`FixedU16`]: https://docs.rs/fixed/0.1.0/fixed/struct.FixedU16.html [`FixedU16`]: https://docs.rs/fixed/0.1.1/fixed/struct.FixedU16.html
[`FixedU32`]: https://docs.rs/fixed/0.1.0/fixed/struct.FixedU32.html [`FixedU32`]: https://docs.rs/fixed/0.1.1/fixed/struct.FixedU32.html
[`FixedU64`]: https://docs.rs/fixed/0.1.0/fixed/struct.FixedU64.html [`FixedU64`]: https://docs.rs/fixed/0.1.1/fixed/struct.FixedU64.html
[`FixedU8`]: https://docs.rs/fixed/0.1.0/fixed/struct.FixedU8.html [`FixedU8`]: https://docs.rs/fixed/0.1.1/fixed/struct.FixedU8.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,14 +5,14 @@ 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.1 (unreleased) Version 0.1.1 (2018-08-11)
========================== ==========================
* Comparisons are now supported between all fixed-point numbers with * Comparisons are now supported between all fixed-point numbers with
the same underlying integer type. the same underlying integer type.
* New static methods `int_bits` and `frac_bits` were added. * New static methods `int_bits` and `frac_bits` were added.
* New methods `from_int`, `to_int`, `to_int_ceil`, `to_int_floor` * New methods `from_int`, `to_int`, `to_int_ceil`, `to_int_floor`
and `to_int_round`. and `to_int_round` were added.
* 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.

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.0" fixed = "0.1.1"
``` ```
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
@ -111,7 +111,7 @@ additional terms or conditions.
[const generics]: https://github.com/rust-lang/rust/issues/44580 [const generics]: https://github.com/rust-lang/rust/issues/44580
*/ */
#![warn(missing_docs)] #![warn(missing_docs)]
#![doc(html_root_url = "https://docs.rs/fixed/0.1.0")] #![doc(html_root_url = "https://docs.rs/fixed/0.1.1")]
#![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))]