Commit Graph

94 Commits

Author SHA1 Message Date
67c30b8535 save one shr operation 2024-08-29 15:21:10 -07:00
95651d7091 use wide_mul for more precise sqrt 2024-08-29 14:50:22 -07:00
91b378aa43 use tabs 2024-08-29 14:28:40 -07:00
ac7d9f5c3b test more 2024-08-29 13:30:48 -07:00
b45d93a7dc more sqrt tests 2024-08-29 13:16:09 -07:00
6549305c9f use import 2024-08-29 13:16:02 -07:00
6ea9eff844 further sqrt improvements 2024-08-29 13:15:17 -07:00
e684fb421e tests 2024-08-29 12:13:45 -07:00
8ba76c7a00 smarter sqrt 2024-08-29 12:13:45 -07:00
3d3eb966a4 multiply and divide was straight up wrong, and bruh this needs const generics so bad 2024-08-29 11:16:38 -07:00
491de52f17 improve failure mode 2024-08-29 10:43:14 -07:00
69da2c52a4 use tabs 2024-08-29 10:43:14 -07:00
9f6dffafda cordic sqrt 2024-08-29 10:43:14 -07:00
a923a6b5d1 consistency 2024-08-28 12:23:33 -07:00
68d1c23cfa allow simple ops (why did this not work before?) 2024-08-28 12:23:33 -07:00
8aa7da6be7 add tests 2024-08-28 12:17:00 -07:00
0be0dd5c6f fixed: more constants 2024-08-28 11:47:40 -07:00
c43fab2f18 reexport typenum for convenience 2024-08-27 16:50:48 -07:00
20a317612e fixed: constants 2024-08-27 16:50:48 -07:00
79ab26f118 fixed: implement shift operators 2024-08-27 16:50:48 -07:00
7a5406e769 fixed: fixup operator impls - this is implicitly Self 2024-08-27 14:59:52 -07:00
4ce5c045a8 fixed: PartialOrd, Ord 2024-08-27 14:24:21 -07:00
d48b03889d rename wide_traits to fixed_wide_traits 2024-08-27 12:34:52 -07:00
a96cae9e80 re-export wide_traits::wide 2024-08-26 17:45:17 -07:00
fa2b9ca515 hide wide_traits behind a feature flag 2024-08-26 17:38:27 -07:00
ac5ef8f9be rename fixed_wide::wide to fixed_wide::fixed 2024-08-26 17:38:27 -07:00
dda8ebefc4 create wide_traits crate 2024-08-26 17:38:27 -07:00
f12ab4a3c3 whats missing 2024-08-26 17:34:13 -07:00
da5decb2f7 faster with less convenience 2024-08-26 17:34:13 -07:00
8206e16952 drop fixed dep 2024-08-26 17:34:13 -07:00
f32bd4a667 bad operator impl 2024-08-26 15:40:27 -07:00
5175a2ea18 wip 2024-08-26 14:58:19 -07:00
98349915ec todo 2024-08-23 17:55:14 -07:00
c6cc1da4be reorganize repo as monorepo of two crates 2024-08-23 17:23:21 -07:00
b836bc2a11 style 2024-08-23 17:23:21 -07:00
d38d103399 you can add 2024-08-23 17:23:21 -07:00
78bc7aa8a1 work 2024-08-23 17:23:21 -07:00
8b4608bda3 unused 2024-08-23 17:23:21 -07:00
3b7fbe4038 fixed crate does it like this 2024-08-23 17:23:21 -07:00
73e8afbc77 infallible narrow tosses fractional bits and has the same or greater integer bits 2024-08-23 14:59:52 -07:00
47f6e75de9 narrow concept 2024-08-23 14:59:52 -07:00
5f8104d531 wild 2024-08-23 14:19:36 -07:00
276602e5f3 WideMul trait 2024-08-23 13:42:44 -07:00
713b68adef Initial commit 2024-08-23 13:00:22 -07:00