File tree 3 files changed +2
-626
lines changed
3 files changed +2
-626
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ keywords = ["libm", "math"]
7
7
license = " MIT OR Apache-2.0"
8
8
name = " libm"
9
9
repository = " https://github.com/rust-lang-nursery/libm"
10
- version = " 0.1.4 "
10
+ version = " 0.2.0 "
11
11
edition = " 2018"
12
12
13
13
[features ]
Original file line number Diff line number Diff line change @@ -18,22 +18,7 @@ term goal is to enable [math support in the `core` crate][core].
18
18
19
19
## Already usable
20
20
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.
37
22
38
23
The API documentation can be found [ here] ( https://docs.rs/libm ) .
39
24
You can’t perform that action at this time.
0 commit comments