drop fixed dep

This commit is contained in:
Quaternions 2024-08-26 15:40:37 -07:00
parent f32bd4a667
commit 8206e16952
6 changed files with 5 additions and 100 deletions

47
fixed_wide/Cargo.lock generated
View File

@ -2,67 +2,20 @@
# It is not intended for manual editing. # It is not intended for manual editing.
version = 3 version = 3
[[package]]
name = "az"
version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7b7e4c2464d97fe331d41de9d5db0def0a96f4d823b8b32a2efd503578988973"
[[package]] [[package]]
name = "bnum" name = "bnum"
version = "0.11.0" version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3e31ea183f6ee62ac8b8a8cf7feddd766317adfb13ff469de57ce033efd6a790" checksum = "3e31ea183f6ee62ac8b8a8cf7feddd766317adfb13ff469de57ce033efd6a790"
[[package]]
name = "bytemuck"
version = "1.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6fd4c6dcc3b0aea2f5c0b4b82c2b15fe39ddbc76041a310848f4706edf76bb31"
[[package]]
name = "cfg-if"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "crunchy"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
[[package]]
name = "fixed"
version = "1.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "85c6e0b89bf864acd20590dbdbad56f69aeb898abfc9443008fd7bd48b2cc85a"
dependencies = [
"az",
"bytemuck",
"half",
"typenum",
]
[[package]] [[package]]
name = "fixed_wide" name = "fixed_wide"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"bnum", "bnum",
"fixed",
"typenum", "typenum",
] ]
[[package]]
name = "half"
version = "2.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6dd08c532ae367adf81c312a4580bc67f1d0fe8bc9c460520283f4c0ff277888"
dependencies = [
"cfg-if",
"crunchy",
]
[[package]] [[package]]
name = "typenum" name = "typenum"
version = "1.17.0" version = "1.17.0"

View File

@ -5,5 +5,4 @@ edition = "2021"
[dependencies] [dependencies]
bnum = "0.11.0" bnum = "0.11.0"
fixed = "1.28.0"
typenum = "1.17.0" typenum = "1.17.0"

View File

@ -1,2 +1,4 @@
pub type I128F128=crate::wide::FixedI256<typenum::consts::U128>; pub type I32F32=crate::wide::Fixed<1,typenum::consts::U32>;
pub type I256F256=crate::wide::FixedI512<typenum::consts::U256>; pub type I64F64=crate::wide::Fixed<2,typenum::consts::U64>;
pub type I128F128=crate::wide::Fixed<4,typenum::consts::U128>;
pub type I256F256=crate::wide::Fixed<8,typenum::consts::U256>;

View File

@ -2,54 +2,17 @@
# It is not intended for manual editing. # It is not intended for manual editing.
version = 3 version = 3
[[package]]
name = "az"
version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7b7e4c2464d97fe331d41de9d5db0def0a96f4d823b8b32a2efd503578988973"
[[package]] [[package]]
name = "bnum" name = "bnum"
version = "0.11.0" version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3e31ea183f6ee62ac8b8a8cf7feddd766317adfb13ff469de57ce033efd6a790" checksum = "3e31ea183f6ee62ac8b8a8cf7feddd766317adfb13ff469de57ce033efd6a790"
[[package]]
name = "bytemuck"
version = "1.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6fd4c6dcc3b0aea2f5c0b4b82c2b15fe39ddbc76041a310848f4706edf76bb31"
[[package]]
name = "cfg-if"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "crunchy"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
[[package]]
name = "fixed"
version = "1.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "85c6e0b89bf864acd20590dbdbad56f69aeb898abfc9443008fd7bd48b2cc85a"
dependencies = [
"az",
"bytemuck",
"half",
"typenum",
]
[[package]] [[package]]
name = "fixed_wide" name = "fixed_wide"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"bnum", "bnum",
"fixed",
"typenum", "typenum",
] ]
@ -57,20 +20,9 @@ dependencies = [
name = "fixed_wide_vectors" name = "fixed_wide_vectors"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"fixed",
"fixed_wide", "fixed_wide",
] ]
[[package]]
name = "half"
version = "2.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6dd08c532ae367adf81c312a4580bc67f1d0fe8bc9c460520283f4c0ff277888"
dependencies = [
"cfg-if",
"crunchy",
]
[[package]] [[package]]
name = "typenum" name = "typenum"
version = "1.17.0" version = "1.17.0"

View File

@ -4,5 +4,4 @@ version = "0.1.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
fixed = "1.28.0"
fixed_wide = { version = "0.1.0", path = "../fixed_wide" } fixed_wide = { version = "0.1.0", path = "../fixed_wide" }

View File

@ -2,7 +2,7 @@ use fixed_wide::wide::WideMul;
use crate::Vector3; use crate::Vector3;
type Planar64=fixed::types::I32F32; type Planar64=fixed_wide::types::I32F32;
//type Planar64Wide1=fixed::types::I64F64; //type Planar64Wide1=fixed::types::I64F64;
//type Planar64Wide2=fixed_wide::types::I128F128; //type Planar64Wide2=fixed_wide::types::I128F128;
type Planar64Wide3=fixed_wide::types::I256F256; type Planar64Wide3=fixed_wide::types::I256F256;