Lines Matching refs:si
37 namespace si = boost::units::si;
40 BOOST_CONSTEXPR_OR_CONST bu::quantity<si::time> s1 = 12.5 * si::seconds; in BOOST_AUTO_TEST_CASE()
41 BOOST_CONSTEXPR_OR_CONST bu::quantity<si::time> s2(si::nano * s1); in BOOST_AUTO_TEST_CASE()
46 BOOST_CONSTEXPR_OR_CONST bu::quantity<si::time> s1 = 12.5 * si::seconds; in BOOST_AUTO_TEST_CASE()
47 typedef bu::multiply_typeof_helper<si::nano_type, si::time>::type time_unit; in BOOST_AUTO_TEST_CASE()
53 typedef bu::multiply_typeof_helper<si::mega_type, si::time>::type mega_time_unit; in BOOST_AUTO_TEST_CASE()
54 typedef bu::multiply_typeof_helper<si::micro_type, si::time>::type micro_time_unit; in BOOST_AUTO_TEST_CASE()
55 BOOST_CONSTEXPR_OR_CONST bu::quantity<mega_time_unit> s1(12.5 * si::seconds); in BOOST_AUTO_TEST_CASE()
61 …BOOST_CHECK_CLOSE_FRACTION(conversion_factor(si::nano*si::seconds, si::seconds), 1e-9, 0.000000001… in BOOST_AUTO_TEST_CASE()
62 …BOOST_CHECK_CLOSE_FRACTION(conversion_factor(si::seconds, si::nano*si::seconds), 1e9, 0.000000001); in BOOST_AUTO_TEST_CASE()
63 …BOOST_CHECK_CLOSE_FRACTION(conversion_factor(si::mega*si::seconds, si::micro*si::seconds), 1e12, 0… in BOOST_AUTO_TEST_CASE()
68 stream << si::nano * 12.5 * si::seconds; in BOOST_AUTO_TEST_CASE()
74 stream << bu::name_format << si::nano * 12.5 * si::seconds; in BOOST_AUTO_TEST_CASE()