bug fixed: is_prime_ex failed when n == 2. change cal_pi_1e9.c