pub fn complement_fixed(x: &BigInt) -> Result<BigInt, PoolError>
Calculate complement (1 - x) with fixed-point arithmetic