This commit is contained in:
Trevor Spiteri 2021-03-17 19:11:18 +01:00
parent 9330cf2e00
commit 2b2e8d6256
4 changed files with 6 additions and 6 deletions

View File

@ -96,7 +96,7 @@ x86_64-gnulinux-tarpaulin:
image: amd64/rust:1
variables:
TARGET: x86_64
REQ_COVERAGE: "79.5"
REQ_COVERAGE: "79"
cache:
key: $CI_JOB_NAME
paths:

View File

@ -91,8 +91,8 @@ The conversions supported cover the following cases.
[`Unwrapped`][u-1-7] wrappers:
* [`from_be`][f-fb-1-7], [`from_le`][f-fl-1-7]
* [`to_be`][f-tb-1-7], [`to_le`][f-tl-1-7]
* [`swap_bytes`][f-sb-1-7],
* [`reverse_bits`][f-rb-1-7],
* [`swap_bytes`][f-sb-1-7]
* [`reverse_bits`][f-rb-1-7]
* [`midpoint`][f-m-1-7]
* The following methods were added to the [`Wrapping`][w-1-7] and
[`Unwrapped`][u-1-7] wrappers:

View File

@ -18,8 +18,8 @@ Version 1.7.0 (unreleased)
[`Unwrapped`][u-1-7] wrappers:
* [`from_be`][f-fb-1-7], [`from_le`][f-fl-1-7]
* [`to_be`][f-tb-1-7], [`to_le`][f-tl-1-7]
* [`swap_bytes`][f-sb-1-7],
* [`reverse_bits`][f-rb-1-7],
* [`swap_bytes`][f-sb-1-7]
* [`reverse_bits`][f-rb-1-7]
* [`midpoint`][f-m-1-7]
* The following methods were added to the [`Wrapping`][w-1-7] and
[`Unwrapped`][u-1-7] wrappers:

View File

@ -865,7 +865,7 @@ assert_eq!(Fix::from_num(3).midpoint(Fix::from_num(4)), Fix::from_num(3.5));
",
},
"
// Midpoint of 0.0011 and 0.00100 would be 0.00111, which has to be rounded.
// Midpoint of 0b0.0011 and 0.00100 would be 0b0.00111, which has to be rounded.
assert_eq!(Fix::from_bits(3).midpoint(Fix::from_bits(4)), Fix::from_bits(3));
assert_eq!(Fix::from_bits(4).midpoint(Fix::from_bits(3)), Fix::from_bits(4));
```