[package]
name = "thermite-complex"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
authors.workspace = true
description = "Generic SIMD complex numbers built on Thermite"
keywords = ["simd", "complex", "complex-numbers", "math", "no-std"]
categories = ["mathematics", "science", "no-std", "hardware-support"]
readme = "README.md"
include = ["/src", "/README.md", "/katex-header.html", "/LICENSE-APACHE", "/LICENSE-MIT"]
[package.metadata.docs.rs]
features = ["std", "compensated", "dual", "special"]
rustdoc-args = ["--cfg", "docsrs", "--html-in-header", "katex-header.html"]
[features]
std = ["thermite/std"]
wasm = ["thermite/wasm"]
dual = ["dep:thermite-dual"]
special = ["dep:thermite-special"]
compensated = ["dep:thermite-compensated"]
[dependencies]
thermite = { workspace = true }
thermite-dual = { workspace = true, optional = true }
thermite-special = { workspace = true, optional = true }
thermite-compensated = { workspace = true, optional = true }
num-traits = { version = "0.2", default-features = false }
paste = "1"
[lints]
workspace = true
[dev-dependencies]
libm = "0.2.16"
num-complex = "0.4"