int main (void) { DECL_FUNC (CC, f, mpc_sqr); test_start (); testsqr (247, -65, 8, 24); testsqr (5, -896, 3, 2); testsqr (-3, -512, 2, 16); testsqr (266013312, 121990769, 27, 0); testsqr (170, 9, 8, 0); testsqr (768, 85, 8, 16); testsqr (145, 1816, 8, 24); testsqr (0, 1816, 8, 24); testsqr (145, 0, 8, 24); data_check (f, "sqr.dat"); tgeneric (f, 2, 1024, 1, 0); reuse_bug (); test_end (); return 0; }
int main (void) { DECL_FUNC (CCS, f, mpc_mul_si); test_start (); tgeneric (f, 2, 1024, 7, -1); test_end (); return 0; }
int main (void) { DECL_FUNC (CUUC, f, mpc_ui_ui_sub); test_start (); tgeneric (f, 2, 1024, 7, -1); test_end (); return 0; }
int main (void) { DECL_FUNC (CCU, f, mpc_div_2exp); test_start (); tgeneric (f, 2, 1024, 7, -1); test_end (); return 0; }
int main (void) { DECL_FUNC (FC, f, mpc_imag); test_start (); tgeneric (f, 2, 1024, 1, 4096); test_end (); return 0; }
int main (void) { DECL_FUNC (CCS, f, mpc_pow_si); test_start (); data_check (f, "pow_si.dat"); compare_mpc_pow (100, 5, 19); test_end (); return 0; }
int main (void) { DECL_FUNC (FC, f, mpc_abs); test_start (); tgeneric (f, 2, 1024, 1, 0); data_check (f, "abs.dat"); test_end (); return 0; }
int main (void) { DECL_FUNC (CCF, f, mpc_pow_fr); test_start (); test_reuse (); data_check (f, "pow_fr.dat"); tgeneric (f, 2, 1024, 7, 10); test_end (); return 0; }
int main (void) { DECL_FUNC (CC, f, mpc_tanh); test_start (); data_check (f, "tanh.dat"); tgeneric (f, 2, 512, 7, 4); test_end (); return 0; }
int main (void) { DECL_FUNC (CC, f, mpc_log); test_start (); data_check (f, "log.dat"); tgeneric (f, 2, 512, 7, 128); test_end (); return 0; }
int main (void) { DECL_FUNC (CC, f, mpc_proj); test_start (); tgeneric (f, 2, 1024, 1, 4096); data_check (f, "proj.dat"); test_end (); return 0; }
int main (void) { DECL_FUNC (FC, f, mpc_norm); test_start (); data_check (f, "norm.dat"); tgeneric (f, 2, 1024, 1, 4096); test_end (); return 0; }
int main (void) { DECL_FUNC (CC, f, mpc_asin); test_start (); data_check (f, "asin.dat"); tgeneric (f, 2, 512, 7, 7); test_end (); return 0; }
int main (void) { DECL_FUNC (CCU, f, mpc_add_ui); test_start (); check_ternary_value (); tgeneric (f, 2, 1024, 7, -1); test_end (); return 0; }
int main (void) { DECL_FUNC (CC, f, mpc_sqrt); test_start (); data_check (f, "sqrt.dat"); tgeneric (f, 2, 1024, 7, 256); test_end (); return 0; }
int main (void) { DECL_FUNC (CCF, f, mpc_add_fr); test_start (); check_ternary_value (1024, 1); data_check (f, "add_fr.dat"); tgeneric (f, 2, 1024, 7, 10); test_end (); return 0; }
int main (void) { DECL_FUNC (CCI, f, mpc_mul_i); test_start (); check_different_precisions (); tgeneric (f, 2, 1024, 7, -1); test_end (); return 0; }
int main (void) { DECL_FUNC (C_CC, f, mpc_add); f.properties = FUNC_PROP_SYMETRIC; test_start (); check_ternary_value(); data_check (f, "add.dat"); tgeneric (f, 2, 1024, 7, -1); test_end (); return 0; }
int main (void) { DECL_FUNC (CC, f, mpc_atanh); test_start (); bug20091120 (); data_check (f, "atanh.dat"); tgeneric (f, 2, 512, 5, 128); test_end (); return 0; }
int main (void) { DECL_FUNC(CC, f,mpc_cosh); test_start (); data_check (f, "cosh.dat"); tgeneric (f, 2, 512, 7, 7); pure_real_argument (); pure_imaginary_argument (); test_end (); return 0; }