[num-traits](https://crates.io/crates/num-traits) provides everything needed by requiring libm directly. Works both in std and no-std.