Home
last modified time | relevance | path

Searched refs:erf (Results 1 – 25 of 139) sorted by relevance

123456

/third_party/optimized-routines/math/test/testcases/directed/
Derf.tst1 ; erf.tst - Directed test cases for erf
6 func=erf op1=7ff80000.00000001 result=7ff80000.00000001 errno=0
7 func=erf op1=fff80000.00000001 result=7ff80000.00000001 errno=0
8 func=erf op1=7ff00000.00000001 result=7ff80000.00000001 errno=0 status=i
9 func=erf op1=fff00000.00000001 result=7ff80000.00000001 errno=0 status=i
10 func=erf op1=7ff00000.00000000 result=3ff00000.00000000 errno=0
11 func=erf op1=fff00000.00000000 result=bff00000.00000000 errno=0
12 func=erf op1=00000000.00000000 result=00000000.00000000 errno=ERANGE
13 func=erf op1=80000000.00000000 result=80000000.00000000 errno=ERANGE
14 func=erf op1=00000000.00000001 result=00000000.00000001 errno=0 status=ux
[all …]
/third_party/boost/libs/math/test/
Dtest_erf_hooks.hpp11 inline float erf(float a) in erf() function
19 inline double erf(double a) in erf() function
21 return ::erf(a); in erf()
27 inline long double erf(long double a) in erf() function
42 double erf(double);
46 inline float erf(float a) in erf() function
48 inline long double erf(long double a) in erf() function
51 return erf((double)a); in erf()
79 inline float erf(float a) in erf() function
81 inline double erf(double a) in erf() function
[all …]
Dtest_erf.hpp33 pg funcp = boost::math::erf<value_type>; in do_test_erf()
35 pg funcp = boost::math::erf; in do_test_erf()
187 …BOOST_CHECK_CLOSE(::boost::math::erf(static_cast<T>(0.125)), static_cast<T>(0.14031620480133381739… in test_spots()
188 …BOOST_CHECK_CLOSE(::boost::math::erf(static_cast<T>(0.5)), static_cast<T>(0.5204998778130465376827… in test_spots()
189 …BOOST_CHECK_CLOSE(::boost::math::erf(static_cast<T>(1)), static_cast<T>(0.842700792949714869341220… in test_spots()
190 …BOOST_CHECK_CLOSE(::boost::math::erf(static_cast<T>(5)), static_cast<T>(0.999999999998462540205571… in test_spots()
191 …BOOST_CHECK_CLOSE(::boost::math::erf(static_cast<T>(-0.125)), static_cast<T>(-0.140316204801333817… in test_spots()
192 …BOOST_CHECK_CLOSE(::boost::math::erf(static_cast<T>(-0.5)), static_cast<T>(-0.52049987781304653768… in test_spots()
193 BOOST_CHECK_CLOSE(::boost::math::erf(static_cast<T>(0)), static_cast<T>(0), tolerance); in test_spots()
205 T b = boost::math::erf(inv); in test_spots()
Dtest_tr1.cpp126 …BOOST_CHECK_CLOSE(tr1::erf(static_cast<float>(0.125)), static_cast<float>(0.1403162048013338173930… in test_values()
127 …BOOST_CHECK_CLOSE(tr1::erf(static_cast<float>(0.5)), static_cast<float>(0.520499877813046537682746… in test_values()
128 …BOOST_CHECK_CLOSE(tr1::erf(static_cast<float>(1)), static_cast<float>(0.84270079294971486934122063… in test_values()
129 …BOOST_CHECK_CLOSE(tr1::erf(static_cast<float>(5)), static_cast<float>(0.99999999999846254020557196… in test_values()
130 …BOOST_CHECK_CLOSE(tr1::erf(static_cast<float>(-0.125)), static_cast<float>(-0.14031620480133381739… in test_values()
131 …BOOST_CHECK_CLOSE(tr1::erf(static_cast<float>(-0.5)), static_cast<float>(-0.5204998778130465376827… in test_values()
132 BOOST_CHECK_CLOSE(tr1::erf(static_cast<float>(0)), static_cast<float>(0), eps * 1000); in test_values()
686 …BOOST_CHECK_CLOSE(tr1::erf(static_cast<double>(0.125)), static_cast<double>(0.14031620480133381739… in test_values()
687 …BOOST_CHECK_CLOSE(tr1::erf(static_cast<double>(0.5)), static_cast<double>(0.5204998778130465376827… in test_values()
688 …BOOST_CHECK_CLOSE(tr1::erf(static_cast<double>(1)), static_cast<double>(0.842700792949714869341220… in test_values()
[all …]
/third_party/mindspore/tests/st/ops/gpu/
Dtest_erf_op.py31 self.erf = P.Erf()
34 return self.erf(x)
41 erf = NetErf()
43 output = erf(Tensor(x, dtype=dtype.float32))
44 expect = special.erf(x)
52 erf = NetErf()
54 output = erf(Tensor(x, dtype=dtype.float16))
55 expect = special.erf(x)
/third_party/python/Lib/test/
Dmath_testcases.txt52 -- erf: error function --
55 erf0000 erf 0.0 -> 0.0
56 erf0001 erf -0.0 -> -0.0
57 erf0002 erf inf -> 1.0
58 erf0003 erf -inf -> -1.0
59 erf0004 erf nan -> nan
62 erf0010 erf 1e-308 -> 1.1283791670955125e-308
63 erf0011 erf 5e-324 -> 4.9406564584124654e-324
64 erf0012 erf 1e-10 -> 1.1283791670955126e-10
67 erf0020 erf 1 -> 0.84270079294971489
[all …]
/third_party/boost/libs/math/doc/sf/
Derf.qbk1 [section:error_function Error Function erf and complement erfc]
6 #include <boost/math/special_functions/erf.hpp>
12 ``__sf_result`` erf(T z);
15 ``__sf_result`` erf(T z, const ``__Policy``&);
33 ``__sf_result`` erf(T z);
36 ``__sf_result`` erf(T z, const ``__Policy``&);
39 [@http://functions.wolfram.com/GammaBetaErf/Erf/ erf] of z:
43 [graph erf]
95 [expression ['erf(-z) = 1 - erf(z);] ]
99 [expression ['erfc(-z) = 1 + erf(z);] // preferred when -0.5 <= -z < 0]
[all …]
Derf_inv.qbk6 #include <boost/math/special_functions/erf.hpp>
41 [expression ['p = erf(x);]]
102 Constructing rational approximations to the erf/erfc functions is actually
111 For /p < 0.5/ the inverse erf function is reasonably smooth and the approximation:
/third_party/boost/libs/math/reporting/performance/
Dtest_erf.cpp32 …screen_data([](const std::vector<double>& v){ return boost::math::erf(v[0]); }, [](const std::ve… in main()
36 …screen_data([](const std::vector<double>& v){ return ::erf(v[0]); }, [](const std::vector<double… in main()
39 …screen_data([](const std::vector<double>& v){ return std::tr1::erf(v[0]); }, [](const std::vecto… in main()
48 …double time = exec_timed_test([](const std::vector<double>& v){ return boost::math::erf(v[0]); }… in main()
60 …double time = exec_timed_test([](const std::vector<double>& v){ return boost::math::erf(v[0], boo… in main()
71 time = exec_timed_test([](const std::vector<double>& v){ return ::erf(v[0]); }); in main()
76 time = exec_timed_test([](const std::vector<double>& v){ return std::tr1::erf(v[0]); }); in main()
/third_party/boost/libs/math/test/compile_test/
Dsf_erf_incl_test.cpp18 check_result<float>(boost::math::erf<float>(f)); in compile_and_link_test()
19 check_result<double>(boost::math::erf<double>(d)); in compile_and_link_test()
21 check_result<long double>(boost::math::erf<long double>(l)); in compile_and_link_test()
/third_party/boost/boost/math/special_functions/
Derf.hpp1112 boost::math::erf(static_cast<T>(1e-12), Policy()); in do_init()
1113 boost::math::erf(static_cast<T>(0.25), Policy()); in do_init()
1114 boost::math::erf(static_cast<T>(1.25), Policy()); in do_init()
1115 boost::math::erf(static_cast<T>(2.25), Policy()); in do_init()
1116 boost::math::erf(static_cast<T>(4.25), Policy()); in do_init()
1117 boost::math::erf(static_cast<T>(5.25), Policy()); in do_init()
1121 boost::math::erf(static_cast<T>(1e-12), Policy()); in do_init()
1122 boost::math::erf(static_cast<T>(0.25), Policy()); in do_init()
1123 boost::math::erf(static_cast<T>(1.25), Policy()); in do_init()
1124 boost::math::erf(static_cast<T>(2.25), Policy()); in do_init()
[all …]
/third_party/optimized-routines/math/test/
Drunulp.sh77 t erf 0 0xffff000000000000 10000
78 t erf 0x1p-1022 0x1p-26 40000
79 t erf -0x1p-1022 -0x1p-26 40000
80 t erf 0x1p-26 0x1p3 40000
81 t erf -0x1p-26 -0x1p3 40000
82 t erf 0 inf 40000
/third_party/python/Lib/idlelib/
Drpc.py110 erf = sys.__stderr__
111 print('\n' + '-'*40, file=erf)
112 print('Unhandled server exception!', file=erf)
113 print('Thread: %s' % threading.current_thread().name, file=erf)
114 print('Client Address: ', client_address, file=erf)
115 print('Request: ', repr(request), file=erf)
116 traceback.print_exc(file=erf)
117 print('\n*** Unrecoverable, server exiting!', file=erf)
118 print('-'*40, file=erf)
/third_party/mindspore/tests/st/ops/graph_kernel/
Dtest_erf_erfc.py26 self.erf = P.Erf()
29 return self.erf(x)
/third_party/musl/libc-test/src/api/
Dtgmath.c91 #ifdef erf in f()
92 {double r = erf(x);} in f()
94 #error no erf(x) in f()
/third_party/boost/libs/math/src/tr1/
Derf.cpp16 return c_policies::erf BOOST_PREVENT_MACRO_SUBSTITUTION(x); in BOOST_PREVENT_MACRO_SUBSTITUTION()
Derff.cpp16 return c_policies::erf BOOST_PREVENT_MACRO_SUBSTITUTION(x); in BOOST_PREVENT_MACRO_SUBSTITUTION()
Derfl.cpp16 return c_policies::erf BOOST_PREVENT_MACRO_SUBSTITUTION(x); in BOOST_PREVENT_MACRO_SUBSTITUTION()
/third_party/boost/libs/math/reporting/accuracy/
Dhas_c99_cmath.cpp12 d = ::erf(d); in main()
Dhas_libstdcxx_tr1.cpp12 d = std::tr1::erf(d); in main()
Dhas_cxx17_cmath.cpp12 d = std::erf(d); in main()
/third_party/boost/libs/math/doc/equations/
Derf2.mml14 <mtext>erf</mtext>
/third_party/icu/icu4c/source/samples/ucnv/
Ddata01.txt14 Il-mistoqsija oħt il-għerf. (Asking is the sister of knowing.)
/third_party/flutter/skia/third_party/externals/icu/source/samples/ucnv/
Ddata01.txt14 Il-mistoqsija oħt il-għerf. (Asking is the sister of knowing.)
/third_party/skia/third_party/externals/icu/source/samples/ucnv/
Ddata01.txt14 Il-mistoqsija oħt il-għerf. (Asking is the sister of knowing.)

123456