Lines Matching refs:test_pow
15 bool test_pow(double al, double au, double bl, double bu, int p) { in test_pow() function
22 BOOST_CHECK(test_pow(2, 3, 8, 27, 3)); in test_main()
23 BOOST_CHECK(test_pow(2, 3, 16, 81, 4)); in test_main()
24 BOOST_CHECK(test_pow(-3, 2, -27, 8, 3)); in test_main()
25 BOOST_CHECK(test_pow(-3, 2, 0, 81, 4)); in test_main()
26 BOOST_CHECK(test_pow(-3, -2, -27, -8, 3)); in test_main()
27 BOOST_CHECK(test_pow(-3, -2, 16, 81, 4)); in test_main()
29 BOOST_CHECK(test_pow(2, 4, 1./64, 1./8, -3)); in test_main()
30 BOOST_CHECK(test_pow(2, 4, 1./256, 1./16, -4)); in test_main()
31 BOOST_CHECK(test_pow(-4, -2, -1./8, -1./64, -3)); in test_main()
32 BOOST_CHECK(test_pow(-4, -2, 1./256, 1./16, -4)); in test_main()
34 BOOST_CHECK(test_pow(2, 3, 1, 1, 0)); in test_main()
35 BOOST_CHECK(test_pow(-3, 2, 1, 1, 0)); in test_main()
36 BOOST_CHECK(test_pow(-3, -2, 1, 1, 0)); in test_main()