Home
last modified time | relevance | path

Searched refs:float128 (Results 1 – 25 of 98) sorted by relevance

1234

/third_party/boost/libs/multiprecision/test/
Dconstexpr_test_float128.cpp12 using boost::multiprecision::float128; in main()
15 constexpr float128 a(22); in main()
16 constexpr float128 b = test_constexpr_add_subtract(a); in main()
28 constexpr float128 a(22); in main()
29 constexpr float128 b = test_constexpr_mul_divide(a); in main()
33 constexpr float128 a(22); in main()
34 constexpr float128 b = test_constexpr_compare(a); in main()
38 constexpr float128 a(0); in main()
40 constexpr float128 b(1); in main()
42 constexpr float128 c(-1); in main()
[all …]
Dtest_nothrow_float128.cpp20 BOOST_STATIC_ASSERT(boost::is_nothrow_move_constructible<boost::multiprecision::float128>::value);
28 BOOST_STATIC_ASSERT(boost::is_nothrow_move_assignable<boost::multiprecision::float128>::value);
36 BOOST_STATIC_ASSERT(boost::has_nothrow_constructor<boost::multiprecision::float128>::value);
42 BOOST_STATIC_ASSERT(boost::has_nothrow_copy<boost::multiprecision::float128>::value);
48 BOOST_STATIC_ASSERT(boost::has_nothrow_assign<boost::multiprecision::float128>::value);
51 BOOST_STATIC_ASSERT(noexcept(boost::multiprecision::float128()));
52 …_STATIC_ASSERT(noexcept(boost::multiprecision::float128(std::declval<const boost::multiprecision::
53 …OST_STATIC_ASSERT(noexcept(boost::multiprecision::float128(std::declval<boost::multiprecision::flo…
54 BOOST_STATIC_ASSERT(noexcept(boost::multiprecision::float128(std::declval<const float128_type&>()))…
55 BOOST_STATIC_ASSERT(noexcept(boost::multiprecision::float128(std::declval<float128_type>())));
[all …]
Dtest_convert_from_float128.cpp160 …BOOST_CHECK_EQUAL(std::numeric_limits<float128>::epsilon(), float128("1.92592994438723585305597794… in main()
161 …BOOST_CHECK_EQUAL((std::numeric_limits<float128>::min)(), float128("3.3621031431120935062626778173… in main()
162 …BOOST_CHECK_EQUAL((std::numeric_limits<float128>::max)(), float128("1.1897314953572317650857593266… in main()
163 …BOOST_CHECK_EQUAL((std::numeric_limits<float128>::denorm_min)(), float128("6.475175119438025110924… in main()
164 BOOST_CHECK((boost::math::isinf)((std::numeric_limits<float128>::infinity)())); in main()
165 BOOST_CHECK((std::numeric_limits<float128>::infinity)() > 0); in main()
166 BOOST_CHECK((boost::math::isnan)((std::numeric_limits<float128>::quiet_NaN)())); in main()
168 test_convert<float128, cpp_int>(); in main()
169 test_convert<float128, int128_t>(); in main()
170 test_convert<float128, uint128_t>(); in main()
[all …]
Dtest_float_io.cpp63 bool has_bad_bankers_rounding(const boost::multiprecision::float128&) in has_bad_bankers_rounding() argument
309 using boost::multiprecision::float128; in test_hexadecimal_floating_point()
311 float128 x = 0x1p+0Q; in test_hexadecimal_floating_point()
324 float128 pi1 = 0x1.921fb54442d18469898cc51701b8p+1Q; in test_hexadecimal_floating_point()
326 float128 pi2(s); in test_hexadecimal_floating_point()
366 test<boost::multiprecision::float128>(); in main()
369 test_round_trip<boost::multiprecision::float128>(); in main()
Dtest_convert_from_cpp_int.cpp221 test_convert<cpp_int, float128>(); in main()
222 test_convert<int128_t, float128>(); in main()
223 test_convert<uint128_t, float128>(); in main()
Dtest_arithmetic_float_128.cpp16 test<boost::multiprecision::float128>(); in main()
Dtest_float128_serial.cpp20 test<float128>(); in main()
/third_party/boost/libs/math/doc/graphs/
Dplot_1d_errors.cpp384 …ot_errors_1d(digamma_func(), boost::multiprecision::float128(1e-200), boost::multiprecision::float… in main()
385 …lot_errors_1d(tgamma_func(), boost::multiprecision::float128(1e-200), boost::multiprecision::float… in main()
386 …lot_errors_1d(lgamma_func(), boost::multiprecision::float128(1e-200), boost::multiprecision::float… in main()
387 …t_errors_1d(trigamma_func(), boost::multiprecision::float128(1e-200), boost::multiprecision::float… in main()
388 …plot_errors_1d(erf_func(), -boost::multiprecision::float128(5.0), boost::multiprecision::float128(… in main()
389 …plot_errors_1d(erfc_func(), -boost::multiprecision::float128(5.0), boost::multiprecision::float128 in main()
390 …ost::multiprecision::float128(0.0), boost::multiprecision::float128(50.0), 10000, "j0, __float128"… in main()
391 …ost::multiprecision::float128(0.0), boost::multiprecision::float128(50.0), 10000, "j1, __float128"… in main()
392 …st::multiprecision::float128(1e-100), boost::multiprecision::float128(50.0), 10000, "y0, __float12… in main()
393 …st::multiprecision::float128(1e-100), boost::multiprecision::float128(50.0), 10000, "y1, __float12… in main()
[all …]
/third_party/boost/libs/math/example/
Dfloat128_example.cpp131 using boost::multiprecision::float128; // Wraps, for example, __float128 or _Quad. in main()
135 …std::cout.precision(std::numeric_limits<float128>::max_digits10); // Show all potentially meaning… in main()
140 float128 pi1 = boost::math::constants::pi<float128>(); // Returns a constant of type float128. in main()
143float128 pi2 = boost::math::constants::pi<__float128>(); // Constant of type __float128 gets conve… in main()
147float128 pi3 = 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998… in main()
151 …std::cout << boost::math::constants::root_pi<float128>() << std::endl; // 1.7724538509055160272981… in main()
154float128 pi4 = 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998… in main()
160 constexpr float128 pi_constexpr = 3.1415926535897932384626433832795028841971693993751058Q; in main()
172 constexpr float128 root_pi_constexpr = boost::math::constants::root_pi<float128>(); in main()
183 float128 ee = boost::math::constants::e<float128>(); in main()
[all …]
Droot_finding_n_example.cpp137 using boost::multiprecision::float128; // Requires libquadmath in main()
158 show_nth_root<5, float128>(2); in main()
/third_party/boost/libs/multiprecision/example/
Dfloat128_snips.cpp25 float128 b = 2; in main()
27 std::cout << std::numeric_limits<float128>::digits << std::endl; in main()
29 std::cout << std::numeric_limits<float128>::digits10 << std::endl; in main()
32 std::cout << std::setprecision(std::numeric_limits<float128>::max_digits10) in main()
39 std::cout << boost::math::tgamma(float128(1000)) << std::endl; in main()
46 constexpr float128 pi = 3.14159265358979323846264338327950288Q; in main()
47 std::cout.precision(std::numeric_limits<float128>::max_digits10); in main()
Dconstexpr_float_arithmetic_examples.cpp328 using boost::multiprecision::float128; in test_float128()
330 constexpr float128 radius = 2.25; in test_float128()
331 constexpr float128 c = circumference(radius); in test_float128()
332 constexpr float128 a = area(radius); in test_float128()
340 constexpr hermite_polynomial<float128, 2> h1; in test_float128()
345 constexpr hermite_polynomial<float128, 3> h3; in test_float128()
352 constexpr hermite_polynomial<float128, 9> h9; in test_float128()
368 constexpr float128 abscissa(0.5); in test_float128()
/third_party/libffi/src/powerpc/
Dffi_powerpc.h61 typedef _Float128 float128; typedef
63 typedef __float128 float128; typedef
65 typedef __int128 float128; typedef
105 float128 *);
Dffi_linux64.c335 bytes += NUM_VEC_ARG_REGISTERS64 * sizeof (float128); in ffi_prep_cif_linux64_core()
450 float128 *f128; in ffi_prep_args64()
490 float128 **f128; in ffi_prep_args64()
671 float128 *f128; in ffi_prep_args64()
865 float128 *pvec) in ffi_closure_helper_LINUX64()
877 float128 *end_pvec = pvec + NUM_VEC_ARG_REGISTERS64; in ffi_closure_helper_LINUX64()
956 float128 *f128; in ffi_closure_helper_LINUX64()
/third_party/boost/libs/math/test/
Ddaubechies_scaling_test.cpp28 using boost::multiprecision::float128;
481 test_integer_grid<float128, idx+2, 0>(); in main()
482 test_integer_grid<float128, idx+2, 1>(); in main()
493 test_integer_grid<boost::multiprecision::float128, idx+3, 2>(); in main()
503 test_integer_grid<boost::multiprecision::float128, idx+4, 3>(); in main()
513 test_integer_grid<boost::multiprecision::float128, idx+5, 4>(); in main()
521 test_dyadic_grid<float128>(); in main()
527 test_filter_ulp_distance<float128, long double, i+1>(); in main()
528 test_filter_ulp_distance<float128, double, i+1>(); in main()
529 test_filter_ulp_distance<float128, float, i+1>(); in main()
[all …]
Djacobi_test.cpp16 using boost::multiprecision::float128;
110 test_to_quadratic<boost::multiprecision::float128>(); in main()
111 test_symmetry<boost::multiprecision::float128>(); in main()
112 test_derivative<boost::multiprecision::float128>(); in main()
Dcardinal_b_spline_test.cpp17 using boost::multiprecision::float128;
282 test_box<float128>(); in main()
283 test_hat<float128>(); in main()
284 test_quadratic<float128>(); in main()
285 test_cubic<float128>(); in main()
286 test_quintic<float128>(); in main()
Dgegenbauer_test.cpp17 using boost::multiprecision::float128;
121 test_quadratic<boost::multiprecision::float128>(); in main()
122 test_cubic<boost::multiprecision::float128>(); in main()
Dquintic_hermite_test.cpp20 using boost::multiprecision::float128;
566 test_constant<float128>(); in main()
568 test_quadratic<float128>(); in main()
569 test_cubic<float128>(); in main()
570 test_quartic<float128>(); in main()
571 test_interpolation_condition<float128>(); in main()
572 test_cardinal_constant<float128>(); in main()
573 test_cardinal_linear<float128>(); in main()
574 test_cardinal_quadratic<float128>(); in main()
575 test_cardinal_cubic<float128>(); in main()
[all …]
Dcardinal_trigonometric_test.cpp78 … CHECK_ULP_CLOSE(boost::multiprecision::float128(c), boost::multiprecision::float128(ct(0.3)), 3); in test_constant_q()
79 …CHECK_ULP_CLOSE(boost::multiprecision::float128(c*h*n), boost::multiprecision::float128(ct.integra… in test_constant_q()
Dmakima_test.cpp16 using boost::multiprecision::float128;
181 test_constant<float128>(); in main()
182 test_linear<float128>(); in main()
Dtanh_sinh_quadrature_test.cpp965 test_right_limit_infinite<boost::multiprecision::float128>(); in BOOST_AUTO_TEST_CASE()
966 test_left_limit_infinite<boost::multiprecision::float128>(); in BOOST_AUTO_TEST_CASE()
967 test_linear<boost::multiprecision::float128>(); in BOOST_AUTO_TEST_CASE()
968 test_quadratic<boost::multiprecision::float128>(); in BOOST_AUTO_TEST_CASE()
969 test_singular<boost::multiprecision::float128>(); in BOOST_AUTO_TEST_CASE()
970 test_ca<boost::multiprecision::float128>(); in BOOST_AUTO_TEST_CASE()
971 test_three_quadrature_schemes_examples<boost::multiprecision::float128>(); in BOOST_AUTO_TEST_CASE()
972 test_horrible<boost::multiprecision::float128>(); in BOOST_AUTO_TEST_CASE()
973 test_integration_over_real_line<boost::multiprecision::float128>(); in BOOST_AUTO_TEST_CASE()
974 test_nr_examples<boost::multiprecision::float128>(); in BOOST_AUTO_TEST_CASE()
[all …]
Dseptic_hermite_test.cpp18 using boost::multiprecision::float128;
521 test_constant<float128>(); in main()
522 test_linear<float128>(); in main()
523 test_quadratic<float128>(); in main()
524 test_cubic<float128>(); in main()
525 test_quartic<float128>(); in main()
526 test_interpolation_condition<float128>(); in main()
/third_party/boost/libs/multiprecision/test/math/
Dsetup.hpp132 #define FLOAT128_TESTS test(float128(), "float128");
134 typedef boost::multiprecision::float128 test_type_1;
/third_party/boost/libs/math/doc/cstdfloat/
Dcstdfloat.qbk49 One can also, more robustly, include `boost/multiprecision/float128.hpp`
125 See [link math_toolkit.float128.overloading overloading template functions with float128_t]
346 [section:float128_hints Hints on using float128 (and __float128)]
348 [h5:different_float128 __float128 versus float128]
357 * Type `float128` uses __float128 and makes it C++ and generic code friendly,
363 * Make sure you declare variables with the correct type, here `float128`.
364 * Make sure that if you pass a variable to a function then it is casted to `float128`.
382 [endsect] [/section:float128_hints Hints on using float128]
384 [section:float128 Implementation of Float128 type]
418 [h4 Using C++ `float128` quadmath type]
[all …]

1234