[go: up one dir, main page]

Bug in comparison to u64

With v1.23.0:

let a: u64 = 66000;
let b: u64 = 1000;
assert!(I80F48::from(a) > b); // fails!

which seems to have been introduced in 1.21.0 / 0eafc657.