/third_party/boost/libs/math/test/ |
D | test_1F1.hpp | 248 …{{ (T)std::ldexp((double)-17079780487168000, -44), (T)std::ldexp((double)9462273998848000, -46), (… in test_spots6() 249 …{{ (T)std::ldexp((double)-16238757384192000, -44), (T)std::ldexp((double)17248812490752000, -44), … in test_spots6() 251 …{{ (T)std::ldexp((double)-15569844699136000, -52), (T)std::ldexp((double)12855440629760000, -44), … in test_spots6() 252 …{{ (T)std::ldexp((double)-13521484578816000, -48), (T)std::ldexp((double)11813014388736000, -46), … in test_spots6() 253 …{{ (T)std::ldexp((double)-13125670141952000, -44), (T)std::ldexp((double)16524914262016000, -44), … in test_spots6() 254 …{{ (T)std::ldexp((double)-9012443406336000, -45), (T)std::ldexp((double)12293411340288000, -46), (… in test_spots6() 255 …{{ (T)std::ldexp((double)10907252916224000, -46), (T)std::ldexp((double)10872033234944000, -44), (… in test_spots6() 256 …{{ (T)std::ldexp((double)10206210322432000, -44), (T)std::ldexp((double)-16798514331648000, -45), … in test_spots6() 261 …{{ (T)std::ldexp((double)10860755407856640, -40), (T)std::ldexp((double)-15992550230222440, -47), … in test_spots6() 262 …{{ (T)std::ldexp((double)10788477424245760, -40), (T)std::ldexp((double)-17098099940288104, -45), … in test_spots6() [all …]
|
D | test_gamma.hpp | 179 …BOOST_CHECK_CLOSE(::boost::math::tgamma(ldexp(static_cast<T>(1), -12)), static_cast<T>(4095.423025… in test_spots() 180 …BOOST_CHECK_CLOSE(::boost::math::tgamma(ldexp(static_cast<T>(1), -14)), static_cast<T>(16383.42284… in test_spots() 181 …BOOST_CHECK_CLOSE(::boost::math::tgamma(ldexp(static_cast<T>(1), -25)), static_cast<T>(3.355443142… in test_spots() 182 …BOOST_CHECK_CLOSE(::boost::math::tgamma(ldexp(static_cast<T>(1), -27)), static_cast<T>(1.342177274… in test_spots() 183 …BOOST_CHECK_CLOSE(::boost::math::tgamma(ldexp(static_cast<T>(1), -29)), static_cast<T>(5.368709114… in test_spots() 184 …BOOST_CHECK_CLOSE(::boost::math::tgamma(ldexp(static_cast<T>(1), -35)), static_cast<T>(3.435973836… in test_spots() 185 …BOOST_CHECK_CLOSE(::boost::math::tgamma(ldexp(static_cast<T>(1), -54)), static_cast<T>(1.801439850… in test_spots() 186 …BOOST_CHECK_CLOSE(::boost::math::tgamma(ldexp(static_cast<T>(1), -64)), static_cast<T>(1.844674407… in test_spots() 187 …BOOST_CHECK_CLOSE(::boost::math::tgamma(ldexp(static_cast<T>(1), -66)), static_cast<T>(7.378697629… in test_spots() 188 …BOOST_CHECK_CLOSE(::boost::math::tgamma(ldexp(static_cast<T>(1), -33)), static_cast<T>(8.589934591… in test_spots() [all …]
|
D | test_zeta.hpp | 122 …BOOST_CHECK_CLOSE(::boost::math::zeta(ldexp(static_cast<T>(1), -20)), static_cast<T>(-0.5000008763… in test_spots() 123 …BOOST_CHECK_CLOSE(::boost::math::zeta(ldexp(static_cast<T>(1), -21)), static_cast<T>(-0.5000004381… in test_spots() 124 …BOOST_CHECK_CLOSE(::boost::math::zeta(ldexp(static_cast<T>(1), -22)), static_cast<T>(-0.5000002190… in test_spots() 125 …BOOST_CHECK_CLOSE(::boost::math::zeta(ldexp(static_cast<T>(1), -23)), static_cast<T>(-0.5000001095… in test_spots() 126 …BOOST_CHECK_CLOSE(::boost::math::zeta(ldexp(static_cast<T>(1), -24)), static_cast<T>(-0.5000000547… in test_spots() 127 …BOOST_CHECK_CLOSE(::boost::math::zeta(ldexp(static_cast<T>(1), -25)), static_cast<T>(-0.5000000273… in test_spots() 128 …BOOST_CHECK_CLOSE(::boost::math::zeta(ldexp(static_cast<T>(1), -26)), static_cast<T>(-0.5000000136… in test_spots() 129 …BOOST_CHECK_CLOSE(::boost::math::zeta(ldexp(static_cast<T>(1), -27)), static_cast<T>(-0.5000000068… in test_spots() 130 …BOOST_CHECK_CLOSE(::boost::math::zeta(ldexp(static_cast<T>(1), -28)), static_cast<T>(-0.5000000034… in test_spots() 131 …BOOST_CHECK_CLOSE(::boost::math::zeta(ldexp(static_cast<T>(1), -29)), static_cast<T>(-0.5000000017… in test_spots() [all …]
|
D | test_jacobi.hpp | 94 …{{ ldexp(T(1), -25), ldexp(T(1), -25), SC_(2.98023223876953080883700663838486782870427050521881839… in test_spots() 95 …{{ -ldexp(T(1), -25), ldexp(T(1), -25), SC_(-2.980232238769530808837006638384867828704270505218818… in test_spots() 96 …{{ SC_(0.25), ldexp(T(1), -25), SC_(0.247403959254522927383635623557663763268693729825996390997241… in test_spots() 97 …{{ SC_(-0.25), ldexp(T(1), -25), SC_(-0.2474039592545229273836356235576637632686937298259963909972… in test_spots() 98 …{{ SC_(1.25), ldexp(T(1), -25), SC_(0.948984619355586147780156037971989352776684194861616269831136… in test_spots() 99 …{{ SC_(-1.25), ldexp(T(1), -25), SC_(-0.9489846193555861477801560379719893527766841948616162698311… in test_spots() 100 …{{ SC_(25.0), ldexp(T(1), -25), SC_(-0.13235175009777856005612713732903552221936543897910656046470… in test_spots() 101 …{{ SC_(-25.0), ldexp(T(1), -25), SC_(0.13235175009777856005612713732903552221936543897910656046470… in test_spots() 102 …{{ ldexp(T(1), -25), SC_(0.5), SC_(2.98023223876953058825550995757802173334628440851964836958219e-… in test_spots() 103 …{{ -ldexp(T(1), -25), SC_(0.5), SC_(-2.98023223876953058825550995757802173334628440851964836958219… in test_spots() [all …]
|
D | test_bessel_k_prime.hpp | 108 …{{ SC_(0.0), T(std::ldexp(1.0, -15)), SC_(-32767.99983195283164326474413165391397251047283415776) … in test_bessel() 109 …{{ SC_(0.0), T(std::ldexp(1.0, -30)), SC_(-1.0737418239999999900300302857268733281035379954421507e… in test_bessel() 110 …{{ SC_(0.0), T(std::ldexp(1.0, -60)), SC_(-1.1529215046068469759999999999999999816966019886812660e… in test_bessel() 119 …{{ SC_(1.0), T(std::ldexp(1.0, -15)), SC_(-1.0737418290065696140247028419519880092107054138744140e… in test_bessel() 120 …{{ SC_(1.0), T(std::ldexp(1.0, -30)), SC_(-1.1529215046068469862051734662283858692135761720165778e… in test_bessel() 121 …{{ SC_(1.0), T(std::ldexp(1.0, -60)), SC_(-1.329227995784915872903807060280344596602381174627566e3… in test_bessel() 126 …{{ SC_(2.0), T(std::ldexp(1.0, -30)), SC_(-4.951760157141521099596496895999999995073222803776904e2… in test_bessel() 130 …{{ SC_(10.0), T(std::ldexp(1.0, -30)), SC_(-4.0637928602074079595570948641288439020852370470244381… in test_bessel() 139 …{{ SC_(2.25), T(std::ldexp(1.0, -30)), SC_(-1.358706605110306964608847299464328015299661532e30) }}, in test_bessel() 150 …{{ SC_(-0.5), static_cast<T>(ldexp(0.5, -512)), SC_(-2.7517666712988769250828766745587959249003725… in test_bessel() [all …]
|
D | test_tgamma_ratio.hpp | 147 …BOOST_CHECK_CLOSE_FRACTION(boost::math::tgamma_ratio(T(ldexp(T(1), -500)), T(180.25)), T(8.0113754… in test_spots() 148 …BOOST_CHECK_CLOSE_FRACTION(boost::math::tgamma_ratio(T(ldexp(T(1), -525)), T(192.25)), T(1.5966560… in test_spots() 149 …BOOST_CHECK_CLOSE_FRACTION(boost::math::tgamma_ratio(T(182.25), T(ldexp(T(1), -500))), T(4.0779904… in test_spots() 150 …BOOST_CHECK_CLOSE_FRACTION(boost::math::tgamma_ratio(T(193.25), T(ldexp(T(1), -525))), T(1.2040790… in test_spots() 167 …BOOST_CHECK_CLOSE_FRACTION(boost::math::tgamma_ratio(T(ldexp(T(1), -1020)), T(100)), T(1.203904180… in test_spots() 168 …BOOST_CHECK_CLOSE_FRACTION(boost::math::tgamma_ratio(T(ldexp(T(1), -1020)), T(150)), T(2.949805801… in test_spots() 169 …BOOST_CHECK_CLOSE_FRACTION(boost::math::tgamma_ratio(T(ldexp(T(1), -1020)), T(180)), T(1.006692093… in test_spots() 170 …BOOST_CHECK_CLOSE_FRACTION(boost::math::tgamma_ratio(T(ldexp(T(1), -1020)), T(220)), T(1.082302635… in test_spots() 171 …BOOST_CHECK_CLOSE_FRACTION(boost::math::tgamma_ratio(T(ldexp(T(1), -1020)), T(260)), T(7.626898075… in test_spots() 172 …BOOST_CHECK_CLOSE_FRACTION(boost::math::tgamma_ratio(T(ldexp(T(1), -1020)), T(290)), T(5.402069982… in test_spots() [all …]
|
D | hypergeometric_1F1_big_double_limited.ipp | 16 …cast<T>(std::ldexp((double)10485392221989376, -40)), static_cast<T>(std::ldexp((double)-1144069292… 17 …cast<T>(std::ldexp((double)10485980564770816, -40)), static_cast<T>(std::ldexp((double)-1042401533… 18 …cast<T>(std::ldexp((double)10485102088130304, -40)), static_cast<T>(std::ldexp((double)-1217430794…
|
D | test_factorials.cpp | 193 if(ldexp(T(1), -150) != 0) in test_spots() 195 …BOOST_CHECK_CLOSE(::boost::math::rising_factorial(ldexp(T(1), -150), 0), static_cast<T>(1), tolera… in test_spots() 196 …BOOST_CHECK_CLOSE(::boost::math::rising_factorial(ldexp(T(1), -150), -1), static_cast<T>(-1.000000… in test_spots() 197 …BOOST_CHECK_CLOSE(::boost::math::rising_factorial(ldexp(T(1), -150), -2), static_cast<T>(0.5000000… in test_spots() 198 …BOOST_CHECK_CLOSE(::boost::math::rising_factorial(ldexp(T(1), -150), -25), static_cast<T>(-6.44695… in test_spots() 201 …BOOST_CHECK_CLOSE(::boost::math::rising_factorial(ldexp(T(1), -150), -40), static_cast<T>(1.225617… in test_spots() 298 if(ldexp(static_cast<T>(1), -100) != 0) in test_spots() 300 …BOOST_CHECK_CLOSE(::boost::math::falling_factorial(ldexp(static_cast<T>(1), -100), 1), static_cast… in test_spots() 301 …BOOST_CHECK_CLOSE(::boost::math::falling_factorial(ldexp(static_cast<T>(1), -100), 2), static_cast… in test_spots() 302 …BOOST_CHECK_CLOSE(::boost::math::falling_factorial(ldexp(static_cast<T>(1), -100), 3), static_cast… in test_spots() [all …]
|
/third_party/boost/libs/math/reporting/performance/ |
D | test_ellint_3.cpp | 49 …{ { -ldexp(T(1.0), -52), boost::math::constants::pi<T>() / 4, SC_(0.9375), SC_(0.86603284493489587… 50 …{ { -ldexp(T(1.0), -52), boost::math::constants::pi<T>() / 4, SC_(-0.9375), SC_(0.8660328449348958… 51 …{ { std::numeric_limits<T>::max_exponent > 600 ? -ldexp(T(1), 604) : T(0), -ldexp(T(1), -816), lde… 52 …{ { std::numeric_limits<T>::max_exponent > 600 ? -ldexp(T(1), 604) : T(0), -ldexp(T(1), -816), -ld… 53 …{ { -ldexp(T(1), -622), -ldexp(T(1), -800), ldexp(T(1), -132), SC_(-1.4996968138956309548176444376… 54 …{ { -ldexp(T(1), -622), -ldexp(T(1), -800), -ldexp(T(1), -132), SC_(-1.499696813895630954817644437… 55 …{ { -ldexp(T(1), -562), ldexp(T(1), -140), ldexp(T(1), -256), SC_(7.174648137343063403129495466444… 56 …{ { -ldexp(T(1), -562), -ldexp(T(1), -140), ldexp(T(1), -256), SC_(-7.1746481373430634031294954664… 57 …{ { ldexp(T(1), -688), -ldexp(T(1), -243), ldexp(T(1), -193), SC_(-7.07474928033336903711649944600… 58 …{ { -ldexp(T(1), -688), -ldexp(T(1), -243), ldexp(T(1), -193), SC_(-7.0747492803333690371164994460… [all …]
|
D | test_sn.cpp | 22 …{{ ldexp(T(1), -25), ldexp(T(1), -25), SC_(2.98023223876953080883700663838486782870427050521881839… 23 …{{ -ldexp(T(1), -25), ldexp(T(1), -25), SC_(-2.980232238769530808837006638384867828704270505218818… 24 …{{ SC_(0.25), ldexp(T(1), -25), SC_(0.247403959254522927383635623557663763268693729825996390997241… 25 …{{ SC_(-0.25), ldexp(T(1), -25), SC_(-0.2474039592545229273836356235576637632686937298259963909972… 26 …{{ SC_(1.25), ldexp(T(1), -25), SC_(0.948984619355586147780156037971989352776684194861616269831136… 27 …{{ SC_(-1.25), ldexp(T(1), -25), SC_(-0.9489846193555861477801560379719893527766841948616162698311… 28 …{{ SC_(25.0), ldexp(T(1), -25), SC_(-0.13235175009777856005612713732903552221936543897910656046470… 29 …{{ SC_(-25.0), ldexp(T(1), -25), SC_(0.13235175009777856005612713732903552221936543897910656046470… 30 …{{ ldexp(T(1), -25), SC_(0.5), SC_(2.98023223876953058825550995757802173334628440851964836958219e-… 31 …{{ -ldexp(T(1), -25), SC_(0.5), SC_(-2.98023223876953058825550995757802173334628440851964836958219… [all …]
|
D | test_dn.cpp | 22 …{{ ldexp(T(1), -25), ldexp(T(1), -25), SC_(2.98023223876953080883700663838486782870427050521881839… 23 …{{ -ldexp(T(1), -25), ldexp(T(1), -25), SC_(-2.980232238769530808837006638384867828704270505218818… 24 …{{ SC_(0.25), ldexp(T(1), -25), SC_(0.247403959254522927383635623557663763268693729825996390997241… 25 …{{ SC_(-0.25), ldexp(T(1), -25), SC_(-0.2474039592545229273836356235576637632686937298259963909972… 26 …{{ SC_(1.25), ldexp(T(1), -25), SC_(0.948984619355586147780156037971989352776684194861616269831136… 27 …{{ SC_(-1.25), ldexp(T(1), -25), SC_(-0.9489846193555861477801560379719893527766841948616162698311… 28 …{{ SC_(25.0), ldexp(T(1), -25), SC_(-0.13235175009777856005612713732903552221936543897910656046470… 29 …{{ SC_(-25.0), ldexp(T(1), -25), SC_(0.13235175009777856005612713732903552221936543897910656046470… 30 …{{ ldexp(T(1), -25), SC_(0.5), SC_(2.98023223876953058825550995757802173334628440851964836958219e-… 31 …{{ -ldexp(T(1), -25), SC_(0.5), SC_(-2.98023223876953058825550995757802173334628440851964836958219… [all …]
|
D | test_cn.cpp | 22 …{{ ldexp(T(1), -25), ldexp(T(1), -25), SC_(2.98023223876953080883700663838486782870427050521881839… 23 …{{ -ldexp(T(1), -25), ldexp(T(1), -25), SC_(-2.980232238769530808837006638384867828704270505218818… 24 …{{ SC_(0.25), ldexp(T(1), -25), SC_(0.247403959254522927383635623557663763268693729825996390997241… 25 …{{ SC_(-0.25), ldexp(T(1), -25), SC_(-0.2474039592545229273836356235576637632686937298259963909972… 26 …{{ SC_(1.25), ldexp(T(1), -25), SC_(0.948984619355586147780156037971989352776684194861616269831136… 27 …{{ SC_(-1.25), ldexp(T(1), -25), SC_(-0.9489846193555861477801560379719893527766841948616162698311… 28 …{{ SC_(25.0), ldexp(T(1), -25), SC_(-0.13235175009777856005612713732903552221936543897910656046470… 29 …{{ SC_(-25.0), ldexp(T(1), -25), SC_(0.13235175009777856005612713732903552221936543897910656046470… 30 …{{ ldexp(T(1), -25), SC_(0.5), SC_(2.98023223876953058825550995757802173334628440851964836958219e-… 31 …{{ -ldexp(T(1), -25), SC_(0.5), SC_(-2.98023223876953058825550995757802173334628440851964836958219… [all …]
|
D | test_kn.cpp | 25 …{ { SC_(0.0), T(std::ldexp(1.0, -15)), SC_(10.5131392267382037062459525561594822400447325776672021… 26 …{ { SC_(0.0), T(std::ldexp(1.0, -30)), SC_(20.9103469324567717360787328239372191382743831365906131… 27 …{ { SC_(0.0), T(std::ldexp(1.0, -60)), SC_(41.7047623492551310138446473188663682295952219631968830… 36 …{ { SC_(1.0), T(std::ldexp(1.0, -15)), SC_(32767.9998319528316432647441316539139725104728341577594… 37 …{ { SC_(1.0), T(std::ldexp(1.0, -30)), SC_(1.07374182399999999003003028572687332810353799544215073… 38 …{ { SC_(1.0), T(std::ldexp(1.0, -60)), SC_(1.15292150460684697599999999999999998169660198868126604… 43 …{ { SC_(2.0), T(std::ldexp(1.0, -30)), SC_(2.30584300921369395150000000000000000234841952009593636… 47 …{ { SC_(10.0), T(std::ldexp(1.0, -30)), SC_(3.7847020292723625521524928153447886491668407292605066…
|
/third_party/flutter/skia/third_party/externals/spirv-tools/test/ |
D | hex_float_test.cpp | 115 {float(ldexp(1.0f, -126)), "0x1p-126"}, 116 {float(ldexp(-1.0f, -126)), "-0x1p-126"}, 119 {float(ldexp(1.0f, -127)), "0x1p-127"}, 120 {float(ldexp(1.0f, -127) / 2.0f), "0x1p-128"}, 121 {float(ldexp(1.0f, -127) / 4.0f), "0x1p-129"}, 122 {float(ldexp(1.0f, -127) / 8.0f), "0x1p-130"}, 123 {float(ldexp(-1.0f, -127)), "-0x1p-127"}, 124 {float(ldexp(-1.0f, -127) / 2.0f), "-0x1p-128"}, 125 {float(ldexp(-1.0f, -127) / 4.0f), "-0x1p-129"}, 126 {float(ldexp(-1.0f, -127) / 8.0f), "-0x1p-130"}, [all …]
|
/third_party/glslang/gtests/ |
D | HexFloat.cpp | 113 {float(ldexp(1.0f, -126)), "0x1p-126"}, 114 {float(ldexp(-1.0f, -126)), "-0x1p-126"}, 117 {float(ldexp(1.0f, -127)), "0x1p-127"}, 118 {float(ldexp(1.0f, -127) / 2.0f), "0x1p-128"}, 119 {float(ldexp(1.0f, -127) / 4.0f), "0x1p-129"}, 120 {float(ldexp(1.0f, -127) / 8.0f), "0x1p-130"}, 121 {float(ldexp(-1.0f, -127)), "-0x1p-127"}, 122 {float(ldexp(-1.0f, -127) / 2.0f), "-0x1p-128"}, 123 {float(ldexp(-1.0f, -127) / 4.0f), "-0x1p-129"}, 124 {float(ldexp(-1.0f, -127) / 8.0f), "-0x1p-130"}, [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/ |
D | hex_float_test.cpp | 117 {float(ldexp(1.0f, -126)), "0x1p-126"}, 118 {float(ldexp(-1.0f, -126)), "-0x1p-126"}, 121 {float(ldexp(1.0f, -127)), "0x1p-127"}, 122 {float(ldexp(1.0f, -127) / 2.0f), "0x1p-128"}, 123 {float(ldexp(1.0f, -127) / 4.0f), "0x1p-129"}, 124 {float(ldexp(1.0f, -127) / 8.0f), "0x1p-130"}, 125 {float(ldexp(-1.0f, -127)), "-0x1p-127"}, 126 {float(ldexp(-1.0f, -127) / 2.0f), "-0x1p-128"}, 127 {float(ldexp(-1.0f, -127) / 4.0f), "-0x1p-129"}, 128 {float(ldexp(-1.0f, -127) / 8.0f), "-0x1p-130"}, [all …]
|
/third_party/spirv-tools/test/ |
D | hex_float_test.cpp | 117 {float(ldexp(1.0f, -126)), "0x1p-126"}, 118 {float(ldexp(-1.0f, -126)), "-0x1p-126"}, 121 {float(ldexp(1.0f, -127)), "0x1p-127"}, 122 {float(ldexp(1.0f, -127) / 2.0f), "0x1p-128"}, 123 {float(ldexp(1.0f, -127) / 4.0f), "0x1p-129"}, 124 {float(ldexp(1.0f, -127) / 8.0f), "0x1p-130"}, 125 {float(ldexp(-1.0f, -127)), "-0x1p-127"}, 126 {float(ldexp(-1.0f, -127) / 2.0f), "-0x1p-128"}, 127 {float(ldexp(-1.0f, -127) / 4.0f), "-0x1p-129"}, 128 {float(ldexp(-1.0f, -127) / 8.0f), "-0x1p-130"}, [all …]
|
/third_party/skia/third_party/externals/spirv-tools/test/ |
D | hex_float_test.cpp | 117 {float(ldexp(1.0f, -126)), "0x1p-126"}, 118 {float(ldexp(-1.0f, -126)), "-0x1p-126"}, 121 {float(ldexp(1.0f, -127)), "0x1p-127"}, 122 {float(ldexp(1.0f, -127) / 2.0f), "0x1p-128"}, 123 {float(ldexp(1.0f, -127) / 4.0f), "0x1p-129"}, 124 {float(ldexp(1.0f, -127) / 8.0f), "0x1p-130"}, 125 {float(ldexp(-1.0f, -127)), "-0x1p-127"}, 126 {float(ldexp(-1.0f, -127) / 2.0f), "-0x1p-128"}, 127 {float(ldexp(-1.0f, -127) / 4.0f), "-0x1p-129"}, 128 {float(ldexp(-1.0f, -127) / 8.0f), "-0x1p-130"}, [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
D | charconv_test.cc | 178 EXPECT_EQ(ToDouble("5.e125"), ldexp(6653062250012735, 365)); in TEST() 179 EXPECT_EQ(ToDouble("69.e267"), ldexp(4705683757438170, 841)); in TEST() 180 EXPECT_EQ(ToDouble("999.e-026"), ldexp(6798841691080350, -129)); in TEST() 181 EXPECT_EQ(ToDouble("7861.e-034"), ldexp(8975675289889240, -153)); in TEST() 182 EXPECT_EQ(ToDouble("75569.e-254"), ldexp(6091718967192243, -880)); in TEST() 183 EXPECT_EQ(ToDouble("928609.e-261"), ldexp(7849264900213743, -900)); in TEST() 184 EXPECT_EQ(ToDouble("9210917.e080"), ldexp(8341110837370930, 236)); in TEST() 185 EXPECT_EQ(ToDouble("84863171.e114"), ldexp(4625202867375927, 353)); in TEST() 186 EXPECT_EQ(ToDouble("653777767.e273"), ldexp(5068902999763073, 884)); in TEST() 187 EXPECT_EQ(ToDouble("5232604057.e-298"), ldexp(5741343011915040, -1010)); in TEST() [all …]
|
/third_party/abseil-cpp/absl/strings/ |
D | charconv_test.cc | 178 EXPECT_EQ(ToDouble("5.e125"), ldexp(6653062250012735, 365)); in TEST() 179 EXPECT_EQ(ToDouble("69.e267"), ldexp(4705683757438170, 841)); in TEST() 180 EXPECT_EQ(ToDouble("999.e-026"), ldexp(6798841691080350, -129)); in TEST() 181 EXPECT_EQ(ToDouble("7861.e-034"), ldexp(8975675289889240, -153)); in TEST() 182 EXPECT_EQ(ToDouble("75569.e-254"), ldexp(6091718967192243, -880)); in TEST() 183 EXPECT_EQ(ToDouble("928609.e-261"), ldexp(7849264900213743, -900)); in TEST() 184 EXPECT_EQ(ToDouble("9210917.e080"), ldexp(8341110837370930, 236)); in TEST() 185 EXPECT_EQ(ToDouble("84863171.e114"), ldexp(4625202867375927, 353)); in TEST() 186 EXPECT_EQ(ToDouble("653777767.e273"), ldexp(5068902999763073, 884)); in TEST() 187 EXPECT_EQ(ToDouble("5232604057.e-298"), ldexp(5741343011915040, -1010)); in TEST() [all …]
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
D | parser_impl_const_literal_test.cc | 193 {"0x1p-124", std::ldexp(1.f * 8.f, -127)}, 194 {"0x1p-125", std::ldexp(1.f * 4.f, -127)}, 195 {"-0x1p-124", -std::ldexp(1.f * 8.f, -127)}, 196 {"-0x1p-125", -std::ldexp(1.f * 4.f, -127)}, 199 {"0x1p-126", std::ldexp(1.f * 2.f, -127)}, 200 {"-0x1p-126", -std::ldexp(1.f * 2.f, -127)}, 203 {"0x1p-127", std::ldexp(1.f, -127)}, 204 {"0x1p-128", std::ldexp(1.f / 2.f, -127)}, 205 {"0x1p-129", std::ldexp(1.f / 4.f, -127)}, 206 {"0x1p-130", std::ldexp(1.f / 8.f, -127)}, [all …]
|
/third_party/boost/libs/math/example/ |
D | root_finding_example.cpp | 126 T guess = ldexp(1., exponent/3); // Rough guess is to divide the exponent by three. in cbrt_noderiv() 231 …T guess = ldexp(1., exponent/3); // Rough guess is to divide the exponent by th… in cbrt_deriv() 232 T min = ldexp(0.5, exponent/3); // Minimum possible value is half our guess. in cbrt_deriv() 233 T max = ldexp(2., exponent/3); // Maximum possible value is twice our guess. in cbrt_deriv() 290 …T guess = ldexp(1., exponent/3); // Rough guess is to divide the exponent by th… in cbrt_2deriv() 291 T min = ldexp(0.5, exponent/3); // Minimum possible value is half our guess. in cbrt_2deriv() 292 T max = ldexp(2., exponent/3); // Maximum possible value is twice our guess. in cbrt_2deriv() 314 …T guess = ldexp(1., exponent / 3); // Rough guess is to divide the exponent by … in cbrt_2deriv_lambda() 315 … T min = ldexp(0.5, exponent / 3); // Minimum possible value is half our guess. in cbrt_2deriv_lambda() 316 …T max = ldexp(2., exponent / 3); // Maximum possible value is twice our guess. in cbrt_2deriv_lambda() [all …]
|
/third_party/boost/libs/multiprecision/test/ |
D | test_cpp_bin_float_conv.cpp | 38 return ldexp(val, ui(gen)); in generate_random() 202 cpp_bin_float_50 r1 = ldexp(cpp_bin_float_50(0x8000000000000bffull), -63 - 1023); in main() 207 r1 = ldexp(cpp_bin_float_50(0x8000017f), -31 - 127); in main() 214 r1 = -ldexp(cpp_bin_float_50(1), -3000); in main() 225 r1 = ldexp(r1, std::numeric_limits<double>::min_exponent); in main() 231 r1 = ldexp(r1, -1); in main() 234 r1 = ldexp(r1, std::numeric_limits<double>::min_exponent); in main() 240 r1 = ldexp(r1, -1); in main() 246 r1 = ldexp(r1, std::numeric_limits<double>::min_exponent); in main() 252 r1 = ldexp(r1, -1); in main() [all …]
|
/third_party/boost/boost/container_hash/detail/ |
D | float_functions.hpp | 82 return std::ldexp(x, y); in operator ()() 147 return ldexp(a, b); in operator ()() 176 template <class Float> boost::hash_detail::not_found ldexp(Float, int); 274 BOOST_HASH_CALL_FLOAT_MACRO(ldexp, ldexpf, float, int) 276 BOOST_HASH_CALL_FLOAT_FUNC(ldexp, ldexpf, float, int) 280 BOOST_HASH_CALL_FLOAT_MACRO(ldexp, ldexpl, long double, int) 282 BOOST_HASH_CALL_FLOAT_FUNC(ldexp, ldexpl, long double, int)
|
/third_party/boost/boost/math/special_functions/ |
D | erf.hpp | 305 hi = floor(ldexp(frexp(z, &expon), 26)); in erf_imp() 306 hi = ldexp(hi, expon - 26); in erf_imp() 338 hi = floor(ldexp(frexp(z, &expon), 26)); in erf_imp() 339 hi = ldexp(hi, expon - 26); in erf_imp() 373 hi = floor(ldexp(frexp(z, &expon), 26)); in erf_imp() 374 hi = ldexp(hi, expon - 26); in erf_imp() 498 hi = floor(ldexp(frexp(z, &expon), 32)); in erf_imp() 499 hi = ldexp(hi, expon - 32); in erf_imp() 533 hi = floor(ldexp(frexp(z, &expon), 32)); in erf_imp() 534 hi = ldexp(hi, expon - 32); in erf_imp() [all …]
|