bug fixed , bignum compair and log(0)