Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
src/ | 25-Apr-2025 | - | 3,849 | 2,898 | ||
.cargo-checksum.json | D | 25-Apr-2025 | 906 | 1 | 1 | |
Android.bp | D | 25-Apr-2025 | 1.3 KiB | 57 | 52 | |
Cargo.toml | D | 25-Apr-2025 | 1.8 KiB | 87 | 77 | |
LICENSE | D | 25-Apr-2025 | 10.6 KiB | 202 | 169 | |
LICENSE-APACHE | D | 25-Apr-2025 | 10.6 KiB | 202 | 169 | |
LICENSE-MIT | D | 25-Apr-2025 | 1 KiB | 26 | 22 | |
METADATA | D | 25-Apr-2025 | 391 | 18 | 17 | |
MODULE_LICENSE_APACHE2 | D | 25-Apr-2025 | 0 | |||
README.md | D | 25-Apr-2025 | 1.6 KiB | 56 | 36 | |
RELEASES.md | D | 25-Apr-2025 | 6.5 KiB | 198 | 124 | |
TEST_MAPPING | D | 25-Apr-2025 | 79 | 8 | 7 | |
cargo_embargo.json | D | 25-Apr-2025 | 69 | 6 | 5 |
README.md
1# num-complex 2 3[](https://crates.io/crates/num-complex) 4[](https://docs.rs/num-complex) 5[](https://rust-lang.github.io/rfcs/2495-min-rust-version.html) 6[](https://github.com/rust-num/num-complex/actions) 7 8`Complex` numbers for Rust. 9 10## Usage 11 12Add this to your `Cargo.toml`: 13 14```toml 15[dependencies] 16num-complex = "0.4" 17``` 18 19## Features 20 21This crate can be used without the standard library (`#![no_std]`) by disabling 22the default `std` feature. Use this in `Cargo.toml`: 23 24```toml 25[dependencies.num-complex] 26version = "0.4" 27default-features = false 28``` 29 30Features based on `Float` types are only available when `std` or `libm` is 31enabled. Where possible, `FloatCore` is used instead. Formatting complex 32numbers only supports format width when `std` is enabled. 33 34## Releases 35 36Release notes are available in [RELEASES.md](RELEASES.md). 37 38## Compatibility 39 40The `num-complex` crate is tested for rustc 1.60 and greater. 41 42## License 43 44Licensed 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 49at your option. 50 51### Contribution 52 53Unless you explicitly state otherwise, any contribution intentionally submitted 54for inclusion in the work by you, as defined in the Apache-2.0 license, shall be 55dual licensed as above, without any additional terms or conditions. 56