Searched refs:strict_double (Results 1 – 5 of 5) sorted by relevance
/third_party/boost/libs/spirit/test/x3/ |
D | real3.cpp | 28 constexpr real_parser<double, strict_real_policies<double> > strict_double; in main() local 32 BOOST_SPIRIT_ASSERT_CONSTEXPR_CTORS(strict_double); in main() 40 BOOST_TEST(!test("-1234", strict_double)); in main() 41 BOOST_TEST(!test_attr("-1234", strict_double, d)); in main() 43 BOOST_TEST(test("123.", strict_double)); in main() 44 BOOST_TEST(test_attr("123.", strict_double, d) && compare(d, 123)); in main() 46 BOOST_TEST(test("3.E6", strict_double)); in main() 47 BOOST_TEST(test_attr("3.E6", strict_double, d) && compare(d, 3e6)); in main()
|
/third_party/boost/libs/spirit/test/qi/ |
D | real3.cpp | 28 real_parser<double, strict_real_policies<double> > strict_double; in main() local 37 BOOST_TEST(!test("-1234", strict_double)); in main() 38 BOOST_TEST(!test_attr("-1234", strict_double, d)); in main() 40 BOOST_TEST(test("123.", strict_double)); in main() 41 BOOST_TEST(test_attr("123.", strict_double, d) && compare(d, 123)); in main() 43 BOOST_TEST(test("3.E6", strict_double)); in main() 44 BOOST_TEST(test_attr("3.E6", strict_double, d) && compare(d, 3e6)); in main()
|
D | utree3.cpp | 57 strict_double_type const strict_double = strict_double_type(); in main() local 60 BOOST_TEST(test_attr("10", strict_double | int_, ut) && in main() 63 BOOST_TEST(test_attr("10.2", strict_double | int_, ut) && in main() 66 rule<char const*, boost::variant<int, double>()> r1 = strict_double | int_; in main() 74 rule<char const*, utree()> r2 = strict_double | int_; in main() 82 rule<char const*, utree::list_type()> r3 = strict_double | int_; in main()
|
D | utree2.cpp | 76 strict_double_type const strict_double = strict_double_type(); in main() local 91 r1 = strict_double | int_ | ~char_("()") | r2; in main()
|
/third_party/boost/libs/spirit/example/support/utree/ |
D | sexpr_parser.hpp | 204 real_parser<double, strict_real_policies<double> > strict_double; in parser() local 215 | strict_double in parser()
|