/third_party/boost/libs/math/test/ |
D | test_erf_hooks.hpp | 15 inline float erfc(float a) in erfc() function 23 inline double erfc(double a) in erfc() function 25 return ::erfc(a); in erfc() 31 inline long double erfc(long double a) in erfc() function 57 double erfc(double); 61 inline float erfc(float a) in erfc() function 63 inline long double erfc(long double a) in erfc() function 66 return erfc((double)a); in erfc() 85 inline float erfc(float a) in erfc() function 87 inline double erfc(double a) in erfc() function [all …]
|
D | test_erf.hpp | 59 funcp = boost::math::erfc<value_type>; in do_test_erf() 61 funcp = boost::math::erfc; in do_test_erf() 179 …BOOST_CHECK_CLOSE(::boost::math::erfc(static_cast<T>(0.125)), static_cast<T>(0.8596837951986661826… in test_spots() 180 …BOOST_CHECK_CLOSE(::boost::math::erfc(static_cast<T>(0.5)), static_cast<T>(0.479500122186953462317… in test_spots() 181 …BOOST_CHECK_CLOSE(::boost::math::erfc(static_cast<T>(1)), static_cast<T>(0.15729920705028513065877… in test_spots() 182 …BOOST_CHECK_CLOSE(::boost::math::erfc(static_cast<T>(5)), static_cast<T>(1.53745979442803485018834… in test_spots() 183 …BOOST_CHECK_CLOSE(::boost::math::erfc(static_cast<T>(-0.125)), static_cast<T>(1.140316204801333817… in test_spots() 184 …BOOST_CHECK_CLOSE(::boost::math::erfc(static_cast<T>(-0.5)), static_cast<T>(1.52049987781304653768… in test_spots() 185 BOOST_CHECK_CLOSE(::boost::math::erfc(static_cast<T>(0)), static_cast<T>(1), tolerance); in test_spots() 211 T b = boost::math::erfc(inv); in test_spots()
|
D | test_tr1.cpp | 118 …BOOST_CHECK_CLOSE(tr1::erfc(static_cast<float>(0.125)), static_cast<float>(0.859683795198666182606… in test_values() 119 …BOOST_CHECK_CLOSE(tr1::erfc(static_cast<float>(0.5)), static_cast<float>(0.47950012218695346231725… in test_values() 120 …BOOST_CHECK_CLOSE(tr1::erfc(static_cast<float>(1)), static_cast<float>(0.1572992070502851306587793… in test_values() 121 …BOOST_CHECK_CLOSE(tr1::erfc(static_cast<float>(5)), static_cast<float>(1.5374597944280348501883434… in test_values() 122 …BOOST_CHECK_CLOSE(tr1::erfc(static_cast<float>(-0.125)), static_cast<float>(1.14031620480133381739… in test_values() 123 …BOOST_CHECK_CLOSE(tr1::erfc(static_cast<float>(-0.5)), static_cast<float>(1.5204998778130465376827… in test_values() 124 BOOST_CHECK_CLOSE(tr1::erfc(static_cast<float>(0)), static_cast<float>(1), eps * 1000); in test_values() 678 …BOOST_CHECK_CLOSE(tr1::erfc(static_cast<double>(0.125)), static_cast<double>(0.8596837951986661826… in test_values() 679 …BOOST_CHECK_CLOSE(tr1::erfc(static_cast<double>(0.5)), static_cast<double>(0.479500122186953462317… in test_values() 680 …BOOST_CHECK_CLOSE(tr1::erfc(static_cast<double>(1)), static_cast<double>(0.15729920705028513065877… in test_values() [all …]
|
D | test_trapezoidal.cpp | 100 auto erfc = [&z](Real theta)->Complex in test_erfc() local 113 …Complex erfcz = trapezoidal<decltype(erfc), Real>(erfc, a, b, boost::math::tools::root_epsilon<Rea… in test_erfc()
|
/third_party/python/Lib/test/ |
D | math_testcases.txt | 108 -- erfc: complementary error function -- 111 erfc0000 erfc 0.0 -> 1.0 112 erfc0001 erfc -0.0 -> 1.0 113 erfc0002 erfc inf -> 0.0 114 erfc0003 erfc -inf -> 2.0 115 erfc0004 erfc nan -> nan 118 erfc0010 erfc 1e-308 -> 1.0 119 erfc0011 erfc 5e-324 -> 1.0 120 erfc0012 erfc 1e-10 -> 0.99999999988716204 123 erfc0020 erfc 1 -> 0.15729920705028513 [all …]
|
/third_party/mindspore/tests/st/ops/gpu/ |
D | test_erfc_op.py | 31 self.erfc = P.Erfc() 34 return self.erfc(x) 41 erfc = NetErfc() 43 output = erfc(Tensor(x, dtype=dtype.float32)) 44 expect = special.erfc(x) 52 erfc = NetErfc() 54 output = erfc(Tensor(x, dtype=dtype.float16)) 55 expect = special.erfc(x)
|
/third_party/boost/libs/math/doc/sf/ |
D | erf.qbk | 1 [section:error_function Error Function erf and complement erfc] 18 ``__sf_result`` erfc(T z); 21 ``__sf_result`` erfc(T z, const ``__Policy``&); 46 ``__sf_result`` erfc(T z); 49 ``__sf_result`` erfc(T z, const ``__Policy``&); 55 [graph erfc] 97 [expression ['erfc(-z) = 2 - erfc(z);] // preferred when -z < -0.5] 99 [expression ['erfc(-z) = 1 + erf(z);] // preferred when -0.5 <= -z < 0] 116 disappear from the result. As a result the error for erf and erfc in this 122 [expression ['erfc(z) * exp(z*z) * z ~ c]] [all …]
|
D | erf_inv.qbk | 54 [expression ['p = erfc(x);]] 102 Constructing rational approximations to the erf/erfc functions is actually 134 of this form each of which reaches a little further into the tail of the erfc
|
/third_party/boost/libs/math/reporting/performance/ |
D | test_erfc.cpp | 32 …screen_data([](const std::vector<double>& v){ return boost::math::erfc(v[0]); }, [](const std::v… in main() 36 …screen_data([](const std::vector<double>& v){ return ::erfc(v[0]); }, [](const std::vector<doubl… in main() 39 …screen_data([](const std::vector<double>& v){ return std::tr1::erfc(v[0]); }, [](const std::vect… in main() 49 …double time = exec_timed_test([](const std::vector<double>& v){ return boost::math::erfc(v[0]); … in main() 61 …double time = exec_timed_test([](const std::vector<double>& v){ return boost::math::erfc(v[0], bo… in main() 72 time = exec_timed_test([](const std::vector<double>& v){ return ::erfc(v[0]); }); in main() 78 time = exec_timed_test([](const std::vector<double>& v){ return std::tr1::erfc(v[0]); }); in main()
|
/third_party/boost/libs/math/test/compile_test/ |
D | sf_erf_incl_test.cpp | 24 check_result<float>(boost::math::erfc<float>(f)); in compile_and_link_test() 25 check_result<double>(boost::math::erfc<double>(d)); in compile_and_link_test() 27 check_result<long double>(boost::math::erfc<long double>(l)); in compile_and_link_test()
|
/third_party/boost/boost/math/statistics/ |
D | anderson_darling.hpp | 26 using boost::math::erfc; in anderson_darling_normality_statistic() 53 Real erfcs0 = erfc(s0, no_promote_policy()); in anderson_darling_normality_statistic() 78 Real erfcmsf = erfc<Real>(-sf, no_promote_policy()); in anderson_darling_normality_statistic() 100 Real erfcs1 = erfc<Real>(s1, no_promote_policy()); in anderson_darling_normality_statistic()
|
/third_party/mindspore/tests/st/ops/graph_kernel/ |
D | test_erf_erfc.py | 34 self.erfc = P.Erfc() 37 return self.erfc(x)
|
/third_party/musl/libc-test/src/api/ |
D | tgmath.c | 96 #ifdef erfc in f() 97 {double r = erfc(x);} in f() 99 #error no erfc(x) in f()
|
/third_party/boost/libs/math/src/tr1/ |
D | erfc.cpp | 16 return c_policies::erfc BOOST_PREVENT_MACRO_SUBSTITUTION(x); in BOOST_PREVENT_MACRO_SUBSTITUTION()
|
D | erfcl.cpp | 16 return c_policies::erfc BOOST_PREVENT_MACRO_SUBSTITUTION(x); in BOOST_PREVENT_MACRO_SUBSTITUTION()
|
D | erfcf.cpp | 16 return c_policies::erfc BOOST_PREVENT_MACRO_SUBSTITUTION(x); in BOOST_PREVENT_MACRO_SUBSTITUTION()
|
/third_party/boost/libs/math/reporting/accuracy/ |
D | has_c99_cmath.cpp | 13 d = ::erfc(d); in main()
|
D | has_libstdcxx_tr1.cpp | 13 d = std::tr1::erfc(d); in main()
|
D | has_cxx17_cmath.cpp | 13 d = std::erfc(d); in main()
|
D | bindings.hpp | 23 #define ERFC_FUNCTION_TO_TEST std::erfc 85 #define ERFC_FUNCTION_TO_TEST ::erfc 476 double erfc(double) throw(); 541 #define ERFC_FUNCTION_TO_TEST erfc 636 #define ERFC_FUNCTION_TO_TEST boost::math::erfc
|
/third_party/boost/libs/math/doc/equations/ |
D | erf2.mml | 3 <mtext>erfc</mtext>
|
/third_party/musl/src/math/ |
D | erfl.c | 110 return erfc(x); in erfcl() 351 return erfc(x); in erfcl()
|
/third_party/musl/porting/liteos_a/kernel/src/math/ |
D | erfl.c | 110 return erfc(x); in erfcl() 351 return erfc(x); in erfcl()
|
/third_party/musl/libc-test/src/math/ |
D | erfc.c | 26 y = erfc(p->x); in main()
|
/third_party/mindspore/mindspore/_extends/graph_kernel/expanders/ |
D | __init__.py | 27 from .erfc import Erfc
|