The operations with float are not precise, and using bignum would guarantee the comparisons and arithmetic operations.