Path Finding and arbitrage detection works. Need to print out when detecting arbitrage.

This commit is contained in:
2025-02-04 10:59:39 -05:00
parent 8fa172da17
commit 4a334d4f66
4 changed files with 1103 additions and 100137 deletions

View File

@@ -24,6 +24,9 @@ impl FiNum {
pub fn one() -> Self {
FiNum(1u64<<32)
}
pub fn infinity() -> Self {
FiNum(u64::MAX)
}
pub fn is_tiny(self) -> bool {
self.0>0u64 && self.0<=1u64
}