Home
last modified time | relevance | path

Searched refs:lexical_cast (Results 1 – 25 of 354) sorted by relevance

12345678910>>...15

/third_party/boost/libs/math/reporting/performance/
Dfibonacci.hpp190 boost::lexical_cast<T>("21"), in fibonacci_numbers()
191 boost::lexical_cast<T>("34"), in fibonacci_numbers()
192 boost::lexical_cast<T>("55"), in fibonacci_numbers()
193 boost::lexical_cast<T>("89"), in fibonacci_numbers()
194 boost::lexical_cast<T>("144"), in fibonacci_numbers()
195 boost::lexical_cast<T>("233"), in fibonacci_numbers()
196 boost::lexical_cast<T>("377"), in fibonacci_numbers()
197 boost::lexical_cast<T>("610"), in fibonacci_numbers()
198 boost::lexical_cast<T>("987"), in fibonacci_numbers()
199 boost::lexical_cast<T>("1597"), in fibonacci_numbers()
[all …]
/third_party/boost/boost/math/bindings/detail/
Dbig_digamma.hpp20 boost::lexical_cast<T>("0.6660133691143982067148122682345055274952e81"), in big_digamma_helper()
21 boost::lexical_cast<T>("0.6365271516829242456324234577164675383137e81"), in big_digamma_helper()
22 boost::lexical_cast<T>("0.2991038873096202943405966144203628966976e81"), in big_digamma_helper()
23 boost::lexical_cast<T>("0.9211116495503170498076013367421231351115e80"), in big_digamma_helper()
24 boost::lexical_cast<T>("0.2090792764676090716286400360584443891749e80"), in big_digamma_helper()
25 boost::lexical_cast<T>("0.3730037777359591428226035156377978092809e79"), in big_digamma_helper()
26 boost::lexical_cast<T>("0.5446396536956682043376492370432031543834e78"), in big_digamma_helper()
27 boost::lexical_cast<T>("0.6692523966335177847425047827449069256345e77"), in big_digamma_helper()
28 boost::lexical_cast<T>("0.7062543624100864681625612653756619116848e76"), in big_digamma_helper()
29 boost::lexical_cast<T>("0.6499914905966283735005256964443226879158e75"), in big_digamma_helper()
[all …]
/third_party/boost/libs/lexical_cast/test/
Dlexical_cast_test.cpp141 BOOST_CHECK_EQUAL('A', lexical_cast<char>('A')); in test_conversion_to_char()
142 BOOST_CHECK_EQUAL(' ', lexical_cast<char>(' ')); in test_conversion_to_char()
143 BOOST_CHECK_EQUAL('1', lexical_cast<char>(1)); in test_conversion_to_char()
144 BOOST_CHECK_EQUAL('0', lexical_cast<char>(0)); in test_conversion_to_char()
145 BOOST_CHECK_THROW(lexical_cast<char>(123), bad_lexical_cast); in test_conversion_to_char()
146 BOOST_CHECK_EQUAL('1', lexical_cast<char>(1.0)); in test_conversion_to_char()
147 BOOST_CHECK_EQUAL('1', lexical_cast<char>(true)); in test_conversion_to_char()
148 BOOST_CHECK_EQUAL('0', lexical_cast<char>(false)); in test_conversion_to_char()
149 BOOST_CHECK_EQUAL('A', lexical_cast<char>("A")); in test_conversion_to_char()
150 BOOST_CHECK_EQUAL(' ', lexical_cast<char>(" ")); in test_conversion_to_char()
[all …]
Dlexical_cast_inf_nan_test.cpp70 BOOST_CHECK( is_pos_inf( lexical_cast<test_t>("inf") ) ); in test_inf_nan_templated()
71 BOOST_CHECK( is_pos_inf( lexical_cast<test_t>("INF") ) ); in test_inf_nan_templated()
73 BOOST_CHECK( is_neg_inf( lexical_cast<test_t>("-inf") ) ); in test_inf_nan_templated()
74 BOOST_CHECK( is_neg_inf( lexical_cast<test_t>("-INF") ) ); in test_inf_nan_templated()
76 BOOST_CHECK( is_pos_inf( lexical_cast<test_t>("+inf") ) ); in test_inf_nan_templated()
77 BOOST_CHECK( is_pos_inf( lexical_cast<test_t>("+INF") ) ); in test_inf_nan_templated()
79 BOOST_CHECK( is_pos_inf( lexical_cast<test_t>("infinity") ) ); in test_inf_nan_templated()
80 BOOST_CHECK( is_pos_inf( lexical_cast<test_t>("INFINITY") ) ); in test_inf_nan_templated()
82 BOOST_CHECK( is_neg_inf( lexical_cast<test_t>("-infinity") ) ); in test_inf_nan_templated()
83 BOOST_CHECK( is_neg_inf( lexical_cast<test_t>("-INFINITY") ) ); in test_inf_nan_templated()
[all …]
Dlexical_cast_float_types_test.cpp84lexical_cast<T>( std::string("100") + np.thousands_sep() + np.thousands_sep() + "0" ) in test_conversion_from_to_float_for_locale()
86 … BOOST_CHECK_THROW(lexical_cast<T>( std::string("100") + np.thousands_sep() ), bad_lexical_cast); in test_conversion_from_to_float_for_locale()
87 … BOOST_CHECK_THROW(lexical_cast<T>( np.thousands_sep() + std::string("100") ), bad_lexical_cast); in test_conversion_from_to_float_for_locale()
88 …BOOST_CHECK_THROW(lexical_cast<T>( std::string("1") + np.thousands_sep() + np.decimal_point() + "e… in test_conversion_from_to_float_for_locale()
89 … BOOST_CHECK_THROW(lexical_cast<T>( std::string("1e10") + np.thousands_sep() ), bad_lexical_cast); in test_conversion_from_to_float_for_locale()
90 …BOOST_CHECK_THROW(lexical_cast<T>( std::string("1") + np.thousands_sep() + "e10" ), bad_lexical_ca… in test_conversion_from_to_float_for_locale()
92 …BOOST_CHECK_CLOSE_FRACTION(lexical_cast<T>( to_str< char >(100000) ), 100000, (boost::math::tools:… in test_conversion_from_to_float_for_locale()
93 …BOOST_CHECK_CLOSE_FRACTION(lexical_cast<T>( to_str< char >(10000000u) ), 10000000u, (boost::math::… in test_conversion_from_to_float_for_locale()
94 …BOOST_CHECK_CLOSE_FRACTION(lexical_cast<T>( to_str< char >(100) ), 100, (boost::math::tools::epsil… in test_conversion_from_to_float_for_locale()
96 …BOOST_CHECK_CLOSE_FRACTION(lexical_cast<T>( to_str< wchar_t >(100000) ), 100000, (boost::math::too… in test_conversion_from_to_float_for_locale()
[all …]
Dlexical_cast_arrays_test.cpp60 arr_type res1 = lexical_cast<arr_type>(val); in testing_template_array_output_on_spec_value()
62 const arr_type res2 = lexical_cast<arr_type>(val); in testing_template_array_output_on_spec_value()
64 BOOST_CHECK_THROW(lexical_cast<short_arr_type>(val), boost::bad_lexical_cast); in testing_template_array_output_on_spec_value()
68 uarr_type res1 = lexical_cast<uarr_type>(val); in testing_template_array_output_on_spec_value()
70 const uarr_type res2 = lexical_cast<uarr_type>(val); in testing_template_array_output_on_spec_value()
72 BOOST_CHECK_THROW(lexical_cast<ushort_arr_type>(val), boost::bad_lexical_cast); in testing_template_array_output_on_spec_value()
76 sarr_type res1 = lexical_cast<sarr_type>(val); in testing_template_array_output_on_spec_value()
78 const sarr_type res2 = lexical_cast<sarr_type>(val); in testing_template_array_output_on_spec_value()
80 BOOST_CHECK_THROW(lexical_cast<sshort_arr_type>(val), boost::bad_lexical_cast); in testing_template_array_output_on_spec_value()
89 warr_type res = lexical_cast<warr_type>(val); in testing_template_array_output_on_spec_value()
[all …]
Dlexical_cast_no_locale_test.cpp39 BOOST_CHECK_THROW(lexical_cast<int>(v), bad_lexical_cast); in do_test_on_empty_input()
40 BOOST_CHECK_THROW(lexical_cast<float>(v), bad_lexical_cast); in do_test_on_empty_input()
41 BOOST_CHECK_THROW(lexical_cast<double>(v), bad_lexical_cast); in do_test_on_empty_input()
43 BOOST_CHECK_THROW(lexical_cast<long double>(v), bad_lexical_cast); in do_test_on_empty_input()
45 BOOST_CHECK_THROW(lexical_cast<unsigned int>(v), bad_lexical_cast); in do_test_on_empty_input()
46 BOOST_CHECK_THROW(lexical_cast<unsigned short>(v), bad_lexical_cast); in do_test_on_empty_input()
48 BOOST_CHECK_THROW(lexical_cast<boost::ulong_long_type>(v), bad_lexical_cast); in do_test_on_empty_input()
49 BOOST_CHECK_THROW(lexical_cast<boost::long_long_type>(v), bad_lexical_cast); in do_test_on_empty_input()
51 BOOST_CHECK_THROW(lexical_cast<unsigned __int64>(v), bad_lexical_cast); in do_test_on_empty_input()
52 BOOST_CHECK_THROW(lexical_cast<__int64>(v), bad_lexical_cast); in do_test_on_empty_input()
[all …]
Dlexical_cast_iterator_range_test.cpp57 BOOST_CHECK_EQUAL(lexical_cast<int>(rng), 1); in do_test_iterator_range_impl()
58 BOOST_CHECK_EQUAL(lexical_cast<int>(rng.begin(), rng.size()), 1); in do_test_iterator_range_impl()
59 BOOST_CHECK_EQUAL(lexical_cast<unsigned int>(rng), 1u); in do_test_iterator_range_impl()
60 BOOST_CHECK_EQUAL(lexical_cast<unsigned int>(rng.begin(), rng.size()), 1u); in do_test_iterator_range_impl()
61 BOOST_CHECK_EQUAL(lexical_cast<short>(rng), 1); in do_test_iterator_range_impl()
62 BOOST_CHECK_EQUAL(lexical_cast<short>(rng.begin(), rng.size()), 1); in do_test_iterator_range_impl()
63 BOOST_CHECK_EQUAL(lexical_cast<unsigned short>(rng), 1u); in do_test_iterator_range_impl()
64 BOOST_CHECK_EQUAL(lexical_cast<unsigned short>(rng.begin(), rng.size()), 1u); in do_test_iterator_range_impl()
65 BOOST_CHECK_EQUAL(lexical_cast<long int>(rng), 1); in do_test_iterator_range_impl()
66 BOOST_CHECK_EQUAL(lexical_cast<long int>(rng.begin(), rng.size()), 1); in do_test_iterator_range_impl()
[all …]
Dlexical_cast_integral_types_test.cpp110 BOOST_CHECK(lexical_cast<CharT>(static_cast<T>(0)) == zero + 0); in test_conversion_from_integral_to_char()
111 BOOST_CHECK(lexical_cast<CharT>(static_cast<T>(1)) == zero + 1); in test_conversion_from_integral_to_char()
112 BOOST_CHECK(lexical_cast<CharT>(static_cast<T>(2)) == zero + 2); in test_conversion_from_integral_to_char()
113 BOOST_CHECK(lexical_cast<CharT>(static_cast<T>(3)) == zero + 3); in test_conversion_from_integral_to_char()
114 BOOST_CHECK(lexical_cast<CharT>(static_cast<T>(4)) == zero + 4); in test_conversion_from_integral_to_char()
115 BOOST_CHECK(lexical_cast<CharT>(static_cast<T>(5)) == zero + 5); in test_conversion_from_integral_to_char()
116 BOOST_CHECK(lexical_cast<CharT>(static_cast<T>(6)) == zero + 6); in test_conversion_from_integral_to_char()
117 BOOST_CHECK(lexical_cast<CharT>(static_cast<T>(7)) == zero + 7); in test_conversion_from_integral_to_char()
118 BOOST_CHECK(lexical_cast<CharT>(static_cast<T>(8)) == zero + 8); in test_conversion_from_integral_to_char()
119 BOOST_CHECK(lexical_cast<CharT>(static_cast<T>(9)) == zero + 9); in test_conversion_from_integral_to_char()
[all …]
Dlexical_cast_empty_input_test.cpp34 BOOST_CHECK_THROW(lexical_cast<int>(v), bad_lexical_cast); in do_test_on_empty_input()
35 BOOST_CHECK_THROW(lexical_cast<float>(v), bad_lexical_cast); in do_test_on_empty_input()
36 BOOST_CHECK_THROW(lexical_cast<double>(v), bad_lexical_cast); in do_test_on_empty_input()
38 BOOST_CHECK_THROW(lexical_cast<long double>(v), bad_lexical_cast); in do_test_on_empty_input()
40 BOOST_CHECK_THROW(lexical_cast<unsigned int>(v), bad_lexical_cast); in do_test_on_empty_input()
41 BOOST_CHECK_THROW(lexical_cast<unsigned short>(v), bad_lexical_cast); in do_test_on_empty_input()
43 BOOST_CHECK_THROW(lexical_cast<boost::ulong_long_type>(v), bad_lexical_cast); in do_test_on_empty_input()
44 BOOST_CHECK_THROW(lexical_cast<boost::long_long_type>(v), bad_lexical_cast); in do_test_on_empty_input()
46 BOOST_CHECK_THROW(lexical_cast<unsigned __int64>(v), bad_lexical_cast); in do_test_on_empty_input()
47 BOOST_CHECK_THROW(lexical_cast<__int64>(v), bad_lexical_cast); in do_test_on_empty_input()
[all …]
Dlexical_cast_no_exceptions_test.cpp40 lexical_cast<char>(v); // should call boost::throw_exception in throw_exception()
43 lexical_cast<unsigned char>(v); // should call boost::throw_exception in throw_exception()
55 v = lexical_cast<EscapeStruct>(100); in test_exceptions_off()
56 BOOST_TEST_EQ(lexical_cast<int>(v), 100); in test_exceptions_off()
57 BOOST_TEST_EQ(lexical_cast<unsigned int>(v), 100u); in test_exceptions_off()
59 v = lexical_cast<EscapeStruct>(0.0); in test_exceptions_off()
60 BOOST_TEST_EQ(lexical_cast<double>(v), 0.0); in test_exceptions_off()
62 BOOST_TEST_EQ(lexical_cast<short>(100), 100); in test_exceptions_off()
63 BOOST_TEST_EQ(lexical_cast<float>(0.0), 0.0); in test_exceptions_off()
65 lexical_cast<short>(700000); // should call boost::throw_exception in test_exceptions_off()
Dlexical_cast_loopback_test.cpp46 std::string const epsilon_s = boost::lexical_cast<std::string>(epsilon); in test_round_conversion()
47 BOOST_CHECK(epsilon == lexical_cast<T>(epsilon_s)); in test_round_conversion()
50 std::string const max_s = boost::lexical_cast<std::string>(max_); in test_round_conversion()
51 BOOST_CHECK(max_ == lexical_cast<T>(max_s)); in test_round_conversion()
54 std::string const min_s = boost::lexical_cast<std::string>(min_); in test_round_conversion()
55 BOOST_CHECK(min_ == lexical_cast<T>(min_s)); in test_round_conversion()
58 std::string max_div137_s = boost::lexical_cast<std::string>(max_div137); in test_round_conversion()
59 BOOST_CHECK(max_div137 == lexical_cast<T>(max_div137_s)); in test_round_conversion()
62 std::string epsilon_mult137_s(lexical_cast<std::string>(epsilon_mult137)); in test_round_conversion()
63 BOOST_CHECK(epsilon_mult137 == lexical_cast<T>(epsilon_mult137_s)); in test_round_conversion()
[all …]
Dlexical_cast_containers_test.cpp35 BOOST_CHECK("100" == lexical_cast<boost::container::string>("100")); in testing_boost_containers_basic_string()
36 BOOST_CHECK(L"100" == lexical_cast<boost::container::wstring>(L"100")); in testing_boost_containers_basic_string()
38 BOOST_CHECK("100" == lexical_cast<boost::container::string>(100)); in testing_boost_containers_basic_string()
40 BOOST_CHECK(1000 == lexical_cast<int>(str)); in testing_boost_containers_basic_string()
51 BOOST_CHECK(boost::lexical_cast<std::string>(boost_str) == "boost_str"); in testing_boost_containers_string_std_string()
52 BOOST_CHECK(boost::lexical_cast<boost::container::string>(std_str) == "std_str"); in testing_boost_containers_string_std_string()
58 BOOST_CHECK(boost::lexical_cast<std::wstring>(boost_wstr) == L"boost_wstr"); in testing_boost_containers_string_std_string()
59 BOOST_CHECK(boost::lexical_cast<boost::container::wstring>(std_wstr) == L"std_wstr"); in testing_boost_containers_string_std_string()
71 BOOST_CHECK(boost::lexical_cast<boost::container::wstring>(char_array) == wchar_array); in testing_boost_containers_string_widening()
76 …BOOST_CHECK(boost::lexical_cast<boost::container::basic_string<char16_t> >(char_array) == char16_a… in testing_boost_containers_string_widening()
[all …]
Dlexical_cast_stream_detection_test.cpp199 BOOST_CHECK_EQUAL(T::value, boost::lexical_cast<int>(streamable)); in test_ostr_impl()
200 …BOOST_CHECK_EQUAL(boost::lexical_cast<std::string>(T::value), boost::lexical_cast<std::string>(st… in test_ostr_impl()
206 BOOST_CHECK_EQUAL(T::value, boost::lexical_cast<int>(streamable)); in test_wostr_impl()
208 …BOOST_CHECK(boost::lexical_cast<std::wstring>(T::value) == boost::lexical_cast<std::wstring>(strea… in test_wostr_impl()
215 BOOST_CHECK_EQUAL(T::value, boost::lexical_cast<int>(streamable)); in test_bistr_impl()
216 …BOOST_CHECK_EQUAL(boost::lexical_cast<std::string>(T::value), boost::lexical_cast<std::string>(st… in test_bistr_impl()
218 …BOOST_CHECK(boost::lexical_cast<std::wstring>(T::value + 100) == boost::lexical_cast<std::wstring>… in test_bistr_impl()
241 boost::lexical_cast<T>(T::value); in test_istr_impl()
242 boost::lexical_cast<T>(boost::lexical_cast<std::string>(T::value)); in test_istr_impl()
247 boost::lexical_cast<T>(T::value); in test_wistr_impl()
[all …]
/third_party/boost/libs/multiprecision/test/
Dtest_complex.cpp36 const float_type tol = boost::lexical_cast<float_type>(str_tol.c_str()); in test()
73lexical_cast<float_type>("+0.360520607375271149674620390455531453362255965292841648590021691973969… in test()
74lexical_cast<float_type>("+0.360520607375271149674620390455531453362255965292841648590021691973969… in test()
75lexical_cast<float_type>("+0.104989154013015184381778741865509761388286334056399132321041214750542… in test()
76lexical_cast<float_type>("+0.104989154013015184381778741865509761388286334056399132321041214750542… in test()
77lexical_cast<float_type>("+0.072885032537960954446854663774403470715835140997830802603036876355748… in test()
78lexical_cast<float_type>("-0.101518438177874186550976138828633405639913232104121475054229934924078… in test()
79lexical_cast<float_type>("+1.550088912847258141616125654603881566976156748684874930186066696561899… in test()
80 …:lexical_cast<float_type>("+1.09671128275950304757727738705622064300310682314374504642286980887585… in test()
81 …:lexical_cast<float_type>("+13.9794088060179979371258049257661354125739617294419359905970868812846… in test()
[all …]
/third_party/boost/libs/math/test/
Dtest_lexical_cast.cpp33 using boost::lexical_cast;
89 BOOST_CHECK(lexical_cast<std::basic_string<CharType> >(a1) == s1); in lexical_cast_test_impl()
90 BOOST_CHECK(lexical_cast<std::basic_string<CharType> >(a2) == s2); in lexical_cast_test_impl()
91 BOOST_CHECK(lexical_cast<std::basic_string<CharType> >(a3) == s3); in lexical_cast_test_impl()
92 BOOST_CHECK(lexical_cast<std::basic_string<CharType> >(a4) == s4); in lexical_cast_test_impl()
93 BOOST_CHECK(lexical_cast<std::basic_string<CharType> >(a5) == s5); in lexical_cast_test_impl()
94 BOOST_CHECK(lexical_cast<std::basic_string<CharType> >(a6) == s6); in lexical_cast_test_impl()
95 BOOST_CHECK(lexical_cast<std::basic_string<CharType> >(a7) == s7); in lexical_cast_test_impl()
96 BOOST_CHECK(lexical_cast<std::basic_string<CharType> >(a8) == s8); in lexical_cast_test_impl()
97 BOOST_CHECK(lexical_cast<std::basic_string<CharType> >(a9) == s9); in lexical_cast_test_impl()
[all …]
Dquaternion_test.cpp500 BOOST_CHECK_EQUAL(boost::lexical_cast<std::string>(q4), "(34,56,20,2)"); in BOOST_AUTO_TEST_CASE_TEMPLATE()
501 q1 = boost::lexical_cast<boost::math::quaternion<T> >("(34,56,20,2)"); in BOOST_AUTO_TEST_CASE_TEMPLATE()
518 …BOOST_CHECK_CLOSE(abs(q4), boost::lexical_cast<T>("68.52736679604725626189080285032080446623"), to… in BOOST_AUTO_TEST_CASE_TEMPLATE()
521lexical_cast<T>("-572700109350177.2871954597833265926769952"), boost::lexical_cast<T>("10498682596… in BOOST_AUTO_TEST_CASE_TEMPLATE()
523lexical_cast<T>("18285331065398556228976865.03309127394107"), boost::lexical_cast<T>("-27602822237… in BOOST_AUTO_TEST_CASE_TEMPLATE()
524lexical_cast<T>("-29326963088663226843378365.81173441507358"), boost::lexical_cast<T>("-1721033103… in BOOST_AUTO_TEST_CASE_TEMPLATE()
526lexical_cast<T>("-3.758831069989140832054627039712718213887e-52"), boost::lexical_cast<T>("0.94120… in BOOST_AUTO_TEST_CASE_TEMPLATE()
528lexical_cast<T>("-286350054675088.6435977298916624551903343"), boost::lexical_cast<T>("52493412981… in BOOST_AUTO_TEST_CASE_TEMPLATE()
529lexical_cast<T>("-286350054675088.6435977298916641374866609"), boost::lexical_cast<T>("52493412981… in BOOST_AUTO_TEST_CASE_TEMPLATE()
531lexical_cast<T>("0.9999999999999999999999999999945544805016"), boost::lexical_cast<T>("-2.07526004… in BOOST_AUTO_TEST_CASE_TEMPLATE()
[all …]
/third_party/boost/boost/math/bindings/
De_float.hpp579 …return boost::lexical_cast<boost::math::ef::e_float>("1.139547099404648657492793019389846112087599… in skewness()
586 …return boost::lexical_cast<boost::math::ef::e_float>("0.631110657818937138191899351544227779844042… in skewness()
595 …return boost::lexical_cast<boost::math::ef::e_float>("3.245089300687638062848660410619754415417066… in kurtosis()
606 …return boost::lexical_cast<boost::math::ef::e_float>("0.245089300687638062848660410619754415417066… in kurtosis_excess()
655 boost::lexical_cast<boost::math::ef::e_float>("-2.2335582639474375249e+15"), in bessel_i0()
656 boost::lexical_cast<boost::math::ef::e_float>("-5.5050369673018427753e+14"), in bessel_i0()
657 boost::lexical_cast<boost::math::ef::e_float>("-3.2940087627407749166e+13"), in bessel_i0()
658 boost::lexical_cast<boost::math::ef::e_float>("-8.4925101247114157499e+11"), in bessel_i0()
659 boost::lexical_cast<boost::math::ef::e_float>("-1.1912746104985237192e+10"), in bessel_i0()
660 boost::lexical_cast<boost::math::ef::e_float>("-1.0313066708737980747e+08"), in bessel_i0()
[all …]
Dmpfr.hpp458 return boost::lexical_cast<mpfr_class>("1.1395470994046486574927930193898461120875997958366"); in skewness()
465 return boost::lexical_cast<mpfr_class>("0.63111065781893713819189935154422777984404221106391"); in skewness()
474 return boost::lexical_cast<mpfr_class>("3.2450893006876380628486604106197544154170667057995"); in kurtosis()
485 return boost::lexical_cast<mpfr_class>("0.2450893006876380628486604106197544154170667057995"); in kurtosis_excess()
795 boost::lexical_cast<mpfr_class>("-2.2335582639474375249e+15"), in bessel_i0()
796 boost::lexical_cast<mpfr_class>("-5.5050369673018427753e+14"), in bessel_i0()
797 boost::lexical_cast<mpfr_class>("-3.2940087627407749166e+13"), in bessel_i0()
798 boost::lexical_cast<mpfr_class>("-8.4925101247114157499e+11"), in bessel_i0()
799 boost::lexical_cast<mpfr_class>("-1.1912746104985237192e+10"), in bessel_i0()
800 boost::lexical_cast<mpfr_class>("-1.0313066708737980747e+08"), in bessel_i0()
[all …]
Dmpreal.hpp405 return boost::lexical_cast<mpfr::mpreal>("1.1395470994046486574927930193898461120875997958366"); in skewness()
412 return boost::lexical_cast<mpfr::mpreal>("0.63111065781893713819189935154422777984404221106391"); in skewness()
421 return boost::lexical_cast<mpfr::mpreal>("3.2450893006876380628486604106197544154170667057995"); in kurtosis()
432 return boost::lexical_cast<mpfr::mpreal>("0.2450893006876380628486604106197544154170667057995"); in kurtosis_excess()
742 boost::lexical_cast<mpfr::mpreal>("-2.2335582639474375249e+15"), in bessel_i0()
743 boost::lexical_cast<mpfr::mpreal>("-5.5050369673018427753e+14"), in bessel_i0()
744 boost::lexical_cast<mpfr::mpreal>("-3.2940087627407749166e+13"), in bessel_i0()
745 boost::lexical_cast<mpfr::mpreal>("-8.4925101247114157499e+11"), in bessel_i0()
746 boost::lexical_cast<mpfr::mpreal>("-1.1912746104985237192e+10"), in bessel_i0()
747 boost::lexical_cast<mpfr::mpreal>("-1.0313066708737980747e+08"), in bessel_i0()
[all …]
/third_party/boost/boost/
Dlexical_cast.hpp37 inline Target lexical_cast(const Source &arg) in lexical_cast() function
49 inline Target lexical_cast(const char* chars, std::size_t count) in lexical_cast() function
51 return ::boost::lexical_cast<Target>( in lexical_cast()
57 inline Target lexical_cast(const unsigned char* chars, std::size_t count) in lexical_cast() function
59 return ::boost::lexical_cast<Target>( in lexical_cast()
65 inline Target lexical_cast(const signed char* chars, std::size_t count) in lexical_cast() function
67 return ::boost::lexical_cast<Target>( in lexical_cast()
74 inline Target lexical_cast(const wchar_t* chars, std::size_t count) in lexical_cast() function
76 return ::boost::lexical_cast<Target>( in lexical_cast()
83 inline Target lexical_cast(const char16_t* chars, std::size_t count) in lexical_cast() function
[all …]
/third_party/boost/libs/lexical_cast/
DREADME.md1 # [Boost.LexicalCast](http://boost.org/libs/lexical_cast)
8lexical_cast.svg?branch=develop)](https://travis-ci.org/boostorg/lexical_cast) [![Build status](ht…
9lexical_cast.svg?branch=master)](https://travis-ci.org/boostorg/lexical_cast) [![Build status](htt…
12 [Open Issues](https://svn.boost.org/trac/boost/query?status=!closed&component=lexical_cast)
/third_party/boost/libs/variant/test/
Dauto_visitors.cpp126 return boost::lexical_cast<std::string>(val); in operator ()()
171 res = boost::lexical_cast<std::string>(val); in operator ()()
178 res = boost::lexical_cast<std::string>(v1) + "+" + boost::lexical_cast<std::string>(v2); in operator ()()
185 res = boost::lexical_cast<std::string>(v1) + "+" + boost::lexical_cast<std::string>(v2) in operator ()()
186 + "+" + boost::lexical_cast<std::string>(v3); in operator ()()
209 …BOOST_TEST(boost::apply_visitor([](auto v) { return boost::lexical_cast<std::string>(v); }, v1) ==… in run()
210 …BOOST_TEST(boost::apply_visitor([](auto v) { return boost::lexical_cast<std::string>(v); }, v2) ==… in run()
241 return boost::lexical_cast<std::string>(v1) + "+" + boost::lexical_cast<std::string>(v2); in operator ()()
247 return boost::lexical_cast<std::string>(v1) + "+" in operator ()()
248 + boost::lexical_cast<std::string>(v2) + '+' in operator ()()
[all …]
/third_party/boost/libs/convert/doc/
Dlexcast_converter.qbk7 [import ../example/lexical_cast.cpp]
9 [section:lexical_cast_converter ['boost::cnv::lexical_cast] Converter]
13 * Make use of the `boost::lexical_cast` functionality and performance that many people have become …
16 The converter can easily replace `boost::lexical_cast`, adding flexibility and convenience:
21 See the [classref boost::cnv::lexical_cast `boost::cnv::lexical_cast` implementation] for details.
23 …o be integrated into the `boost::lexical_cast` framework and, consequently, deployed with the `boo…
30 The first two requirements are imposed by the `boost::lexical_cast` design and implementation and t…
/third_party/boost/libs/math/example/
Dlexical_cast_nonfinite_facets.cpp37 using boost::lexical_cast;
104 double x = boost::lexical_cast<double>("inf"); in main()
110 string s = boost::lexical_cast<string>(numeric_limits<double>::infinity()); in main()
115 BOOST_ASSERT(lexical_cast<double>(lexical_cast<string>(numeric_limits<double>::infinity())) in main()
117 BOOST_ASSERT(lexical_cast<string>(lexical_cast<double>("inf")) == "inf"); in main()

12345678910>>...15