Debian Codegraph @

.cargo/vendor/num-complex/README.md

raw
1 # num-complex
2
3 [![crate](https://img.shields.io/crates/v/num-complex.svg)](https://crates.io/crates/num-complex)
4 [![documentation](https://docs.rs/num-complex/badge.svg)](https://docs.rs/num-complex)
5 [![minimum rustc 1.31](https://img.shields.io/badge/rustc-1.31+-red.svg)](https://rust-lang.github.io/rfcs/2495-min-rust-version.html)
6 [![build status](https://github.com/rust-num/num-complex/workflows/master/badge.svg)](https://github.com/rust-num/num-complex/actions)
7
8 `Complex` numbers for Rust.
9
10 ## Usage
11
12 Add this to your `Cargo.toml`:
13
14 ```toml
15 [dependencies]
16 num-complex = "0.4"
17 ```
18
19 ## Features
20
21 This crate can be used without the standard library (`#![no_std]`) by disabling
22 the default `std` feature. Use this in `Cargo.toml`:
23
24 ```toml
25 [dependencies.num-complex]
26 version = "0.4"
27 default-features = false
28 ```
29
30 Features based on `Float` types are only available when `std` or `libm` is
31 enabled. Where possible, `FloatCore` is used instead. Formatting complex
32 numbers only supports format width when `std` is enabled.
33
34 ## Releases
35
36 Release notes are available in [RELEASES.md](RELEASES.md).
37
38 ## Compatibility
39
40 The `num-complex` crate is tested for rustc 1.31 and greater.
41
42 ## License
43
44 Licensed under either of
45
46 * [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
47 * [MIT license](http://opensource.org/licenses/MIT)
48
49 at your option.
50
51 ### Contribution
52
53 Unless you explicitly state otherwise, any contribution intentionally submitted
54 for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
55 dual licensed as above, without any additional terms or conditions.