Skip to content

Commit b95b3fd

Browse files
committed
Always test libm support
1 parent 4fc497f commit b95b3fd

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ default-features = false
2929
```
3030

3131
The `Float` and `Real` traits are only available when either `std` or `libm` is enabled.
32-
The `libm` feature is only available with Rust 1.31 and later ([see PR #99](https://github.com/rust-num/num-traits/pull/99)).
3332

3433
The `FloatCore` trait is always available. `MulAdd` and `MulAddAssign` for `f32`
3534
and `f64` also require `std` or `libm`, as do implementations of signed and floating-

ci/test_full.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ if ! check_version $MSRV ; then
2727
exit 1
2828
fi
2929

30-
FEATURES=()
31-
check_version 1.27 && FEATURES+=(libm)
30+
FEATURES=(libm)
3231
echo "Testing supported features: ${FEATURES[*]}"
3332

3433
set -x

0 commit comments

Comments
 (0)