int main(int argc, char* argv[]) { float mini = nt2::Minlog10<float>(); float maxi = nt2::Maxlog10<float>(); if(argc >= 2) mini = std::atof(argv[1]); if(argc >= 3) maxi = std::atof(argv[2]); nt2::exhaustive_test<float> ( mini , maxi , nt2::functor<nt2::tag::exp10_>() , raw_exp10() ); return 0; }
int main(int argc, char* argv[]) { typedef BOOST_SIMD_DEFAULT_EXTENSION ext_t; typedef boost::simd::native<float,ext_t> n_t; float mini = nt2::Minlog10<float>(); // exp10 is 0 under float maxi = nt2::Maxlog10<float>(); // exp10 is inf above if(argc >= 2) mini = std::atof(argv[1]); if(argc >= 3) maxi = std::atof(argv[2]); nt2::exhaustive_test<n_t> ( mini , maxi , nt2::functor<nt2::tag::exp10_>() , raw_exp10() ); return 0; }