Skip to content

Commit c83f16a

Browse files
authored
Merge pull request rust-lang#197 from gnzlbg/remove_fext
Remove F32Ext and F64Ext
2 parents b03bda3 + 3f815ce commit c83f16a

File tree

3 files changed

+2
-626
lines changed

3 files changed

+2
-626
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ keywords = ["libm", "math"]
77
license = "MIT OR Apache-2.0"
88
name = "libm"
99
repository = "https://github.com/rust-lang-nursery/libm"
10-
version = "0.1.4"
10+
version = "0.2.0"
1111
edition = "2018"
1212

1313
[features]

README.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,7 @@ term goal is to enable [math support in the `core` crate][core].
1818

1919
## Already usable
2020

21-
This crate is [on crates.io] and can be used today in stable `#![no_std]` programs like this:
22-
23-
[on crates.io]: https://crates.io/crates/libm
24-
25-
``` rust
26-
#![no_std]
27-
28-
extern crate libm;
29-
30-
use libm::F32Ext; // adds methods to `f32`
31-
32-
fn foo(x: f32) {
33-
let y = x.sqrt();
34-
let z = libm::truncf(x);
35-
}
36-
```
21+
This crate is [on crates.io] and can be used today in stable `#![no_std]` programs.
3722

3823
The API documentation can be found [here](https://docs.rs/libm).
3924

0 commit comments

Comments
 (0)