Home
last modified time | relevance | path

Searched refs:erfc (Results 1 – 25 of 118) sorted by relevance

12345

/third_party/boost/libs/math/test/
Dtest_erf_hooks.hpp15 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 …]
Dtest_erf.hpp59 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()
Dtest_tr1.cpp118 …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 …]
Dtest_trapezoidal.cpp100 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/
Dmath_testcases.txt108 -- 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/
Dtest_erfc_op.py31 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/
Derf.qbk1 [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 …]
Derf_inv.qbk54 [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/
Dtest_erfc.cpp32 …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/
Dsf_erf_incl_test.cpp24 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/
Danderson_darling.hpp26 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/
Dtest_erf_erfc.py34 self.erfc = P.Erfc()
37 return self.erfc(x)
/third_party/musl/libc-test/src/api/
Dtgmath.c96 #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/
Derfc.cpp16 return c_policies::erfc BOOST_PREVENT_MACRO_SUBSTITUTION(x); in BOOST_PREVENT_MACRO_SUBSTITUTION()
Derfcl.cpp16 return c_policies::erfc BOOST_PREVENT_MACRO_SUBSTITUTION(x); in BOOST_PREVENT_MACRO_SUBSTITUTION()
Derfcf.cpp16 return c_policies::erfc BOOST_PREVENT_MACRO_SUBSTITUTION(x); in BOOST_PREVENT_MACRO_SUBSTITUTION()
/third_party/boost/libs/math/reporting/accuracy/
Dhas_c99_cmath.cpp13 d = ::erfc(d); in main()
Dhas_libstdcxx_tr1.cpp13 d = std::tr1::erfc(d); in main()
Dhas_cxx17_cmath.cpp13 d = std::erfc(d); in main()
Dbindings.hpp23 #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/
Derf2.mml3 <mtext>erfc</mtext>
/third_party/musl/src/math/
Derfl.c110 return erfc(x); in erfcl()
351 return erfc(x); in erfcl()
/third_party/musl/porting/liteos_a/kernel/src/math/
Derfl.c110 return erfc(x); in erfcl()
351 return erfc(x); in erfcl()
/third_party/musl/libc-test/src/math/
Derfc.c26 y = erfc(p->x); in main()
/third_party/mindspore/mindspore/_extends/graph_kernel/expanders/
D__init__.py27 from .erfc import Erfc

12345