Path Finding and arbitrage detection works. Need to print out when detecting arbitrage.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user