mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2025-01-23 09:46:33 +11:00
Merge pull request #29 from tdittr/feature/doc-tests-in-ci
Add `cargo test` to CI run and fix an error found by it
This commit is contained in:
commit
3bdc338a0d
2 changed files with 5 additions and 1 deletions
4
.github/workflows/check.yml
vendored
4
.github/workflows/check.yml
vendored
|
@ -25,3 +25,7 @@ jobs:
|
|||
with:
|
||||
command: clippy
|
||||
args: -- -Dwarnings
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
args: --target x86_64-unknown-linux-gnu
|
||||
|
|
|
@ -266,7 +266,7 @@ float_funcs! {
|
|||
/// Convert a float to a signed 64-bit integer, rounding towards -Infinity, and clamping
|
||||
/// the result to lie within the range -0x8000000000000000 to 0x7FFFFFFFFFFFFFFF
|
||||
0x6c float_to_int64(v: f32) -> i64;
|
||||
/// Convert a float to a signed fixed point 64-bit integer representation where n
|
||||
/// Convert a float to a signed fixed point 64-bit integer representation where n
|
||||
/// specifies the position of the binary point in the resulting fixed point representation -
|
||||
/// e.g. _float2fix(0.5f, 16) == 0x8000. This method rounds towards -Infinity, and
|
||||
/// clamps the resulting integer to lie within the range -0x8000000000000000 to
|
||||
|
|
Loading…
Add table
Reference in a new issue