define is_number for exp_polar