[package]
edition = "2021"
name = "spirix"
version = "0.0.7"
authors = ["Nick Spiker <fractaldecoder@proton.me>"]
build = "build.rs"
exclude = [
"gpu/",
"fpga/",
"old hip/",
"docs/",
"examples/",
"test_contiguous",
"test_multiplication_truth",
"*.hipi",
"*.bc",
"*.o",
"*.s",
"*.out",
"target/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Two's complement floating-point arithmetic library"
homepage = "https://github.com/nickspiker/spirix"
documentation = "https://docs.rs/spirix"
readme = "README.md"
keywords = [
"mathematics",
"floating-point",
"numerics",
"arithmetic",
]
categories = [
"mathematics",
"algorithms",
"no-std",
]
license-file = "LICENSE"
repository = "https://github.com/nickspiker/spirix"
[lib]
name = "spirix"
path = "src/lib.rs"
[[test]]
name = "core_circle_reciprocal"
path = "tests/core_circle_reciprocal.rs"
[[test]]
name = "core_circle_tests"
path = "tests/core_circle_tests.rs"
[[test]]
name = "core_edge_cases"
path = "tests/core_edge_cases.rs"
[[test]]
name = "core_error_handling"
path = "tests/core_error_handling.rs"
[[test]]
name = "core_integer_behavior"
path = "tests/core_integer_behavior.rs"
[[test]]
name = "core_mathematical_functions"
path = "tests/core_mathematical_functions.rs"
[[test]]
name = "core_precision_boundaries"
path = "tests/core_precision_boundaries.rs"
[[test]]
name = "core_saturation_boundaries"
path = "tests/core_saturation_boundaries.rs"
[[test]]
name = "core_scalar_clamp"
path = "tests/core_scalar_clamp.rs"
[[test]]
name = "core_scalar_max_values"
path = "tests/core_scalar_max_values.rs"
[[test]]
name = "core_scalar_tests"
path = "tests/core_scalar_tests.rs"
[[test]]
name = "core_simple_integer_test"
path = "tests/core_simple_integer_test.rs"
[[test]]
name = "core_state_transitions"
path = "tests/core_state_transitions.rs"
[[test]]
name = "core_undefined_tests"
path = "tests/core_undefined_tests.rs"
[[test]]
name = "display_debug_behavior"
path = "tests/display_debug_behavior.rs"
[[test]]
name = "display_scalar_formatting"
path = "tests/display_scalar_formatting.rs"
[[test]]
name = "integration_conversions"
path = "tests/integration_conversions.rs"
[[test]]
name = "integration_corrected_tests"
path = "tests/integration_corrected_tests.rs"
[[test]]
name = "integration_cross_type_operations"
path = "tests/integration_cross_type_operations.rs"
[[test]]
name = "integration_documentation_examples"
path = "tests/integration_documentation_examples.rs"
[[test]]
name = "integration_general"
path = "tests/integration_general.rs"
[[test]]
name = "performance_regression"
path = "tests/performance_regression.rs"
[[test]]
name = "properties_enhanced"
path = "tests/properties_enhanced.rs"
[[test]]
name = "properties_general"
path = "tests/properties_general.rs"
[[test]]
name = "specialized_sqrt_bitwise"
path = "tests/specialized_sqrt_bitwise.rs"
[[test]]
name = "specialized_sqrt_comparison"
path = "tests/specialized_sqrt_comparison.rs"
[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false
[[bench]]
name = "sqrt_benchmark"
path = "benches/sqrt_benchmark.rs"
harness = false
[dependencies.i256]
version = "0.2.2"
[dependencies.num-complex]
version = "0.4.6"
[dependencies.num-integer]
version = "0.1.46"
[dependencies.num-prime]
version = "0.4.4"
[dependencies.num-traits]
version = "0.2.19"
[dependencies.rand]
version = "0.9.0"
[dev-dependencies.approx]
version = "0.5"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.paste]
version = "1.0"
[dev-dependencies.proptest]
version = "1.5"
[profile.dev]
opt-level = 3
debug = 2
overflow-checks = false
[profile.release]
opt-level = 3
debug = 0
overflow-checks = false