Home
last modified time | relevance | path

Searched refs:fp_type (Results 1 – 25 of 31) sorted by relevance

12

/third_party/boost/libs/numeric/odeint/performance/SIMD/
Droessler.cpp26 typedef double fp_type; typedef
29 typedef boost::array<fp_type, 3> state_type;
34 const fp_type m_a, m_b, m_c;
36 roessler_system(const fp_type a, const fp_type b, const fp_type c) in roessler_system()
40 void operator()(const state_type &x, state_type &dxdt, const fp_type t) const in operator ()()
59 const fp_type dt = 0.01; in main()
61 const fp_type a = 0.2; in main()
62 const fp_type b = 1.0; in main()
63 const fp_type c = 9.0; in main()
66 std::vector<fp_type> x(n), y(n), z(n); in main()
[all …]
Droessler_simd.cpp37 typedef double fp_type; typedef
40 typedef simd::pack<fp_type> simd_pack;
49 const fp_type m_a, m_b, m_c;
51 roessler_system(const fp_type a, const fp_type b, const fp_type c) in roessler_system()
55 void operator()(const state_type &x, state_type &dxdt, const fp_type t) const in operator ()()
73 const fp_type dt = 0.01; in main()
75 const fp_type a = 0.2; in main()
76 const fp_type b = 1.0; in main()
77 const fp_type c = 9.0; in main()
80 std::vector<fp_type> x(n), y(n), z(n); in main()
[all …]
/third_party/boost/boost/phoenix/bind/detail/cpp03/
Dbind_member_function.hpp31 typedef detail::member_function_ptr<0, RT, RT(ClassT::*)()> fp_type; in bind() typedef
33 detail::expression::function_eval<fp_type, ClassA>::make( in bind()
34 fp_type(f) in bind()
51 fp_type; in bind() typedef
53 detail::expression::function_eval<fp_type, ClassA>::make( in bind()
54 fp_type(f) in bind()
67 typedef detail::member_function_ptr<0, RT, RT(ClassT::*)()> fp_type; in bind() typedef
70 fp_type in bind()
73 fp_type(f) in bind()
86 typedef detail::member_function_ptr<0, RT, RT(ClassT::*)() const> fp_type; in bind() typedef
[all …]
Dbind_function.hpp25 typedef detail::function_ptr<0, RT, RT(*)()> fp_type; in bind() typedef
26 return detail::expression::function_eval<fp_type>::make(fp_type(f)); in bind()
41 typedef detail::function_ptr<1, RT, RT(*)(T0)> fp_type; in bind() typedef
42 return detail::expression::function_eval<fp_type, A0>::make(fp_type(f), a0); in bind()
102 > fp_type; in bind() typedef
105 fp_type in bind()
108 fp_type(f) in bind()
/third_party/boost/boost/phoenix/bind/detail/cpp03/preprocessed/
Dbind_member_function_10.hpp41 > fp_type; in bind() typedef
44 fp_type in bind()
48 fp_type(f) in bind()
80 > fp_type; in bind() typedef
83 fp_type in bind()
87 fp_type(f) in bind()
118 > fp_type; in bind() typedef
121 fp_type in bind()
125 fp_type(f) in bind()
164 > fp_type; in bind() typedef
[all …]
Dbind_function_10.hpp37 > fp_type; in bind() typedef
40 fp_type in bind()
43 fp_type(f) in bind()
77 > fp_type; in bind() typedef
80 fp_type in bind()
83 fp_type(f) in bind()
117 > fp_type; in bind() typedef
120 fp_type in bind()
123 fp_type(f) in bind()
157 > fp_type; in bind() typedef
[all …]
Dbind_function_20.hpp37 > fp_type; in bind() typedef
40 fp_type in bind()
43 fp_type(f) in bind()
77 > fp_type; in bind() typedef
80 fp_type in bind()
83 fp_type(f) in bind()
117 > fp_type; in bind() typedef
120 fp_type in bind()
123 fp_type(f) in bind()
157 > fp_type; in bind() typedef
[all …]
Dbind_member_function_20.hpp41 > fp_type; in bind() typedef
44 fp_type in bind()
48 fp_type(f) in bind()
80 > fp_type; in bind() typedef
83 fp_type in bind()
87 fp_type(f) in bind()
118 > fp_type; in bind() typedef
121 fp_type in bind()
125 fp_type(f) in bind()
164 > fp_type; in bind() typedef
[all …]
Dbind_function_30.hpp37 > fp_type; in bind() typedef
40 fp_type in bind()
43 fp_type(f) in bind()
77 > fp_type; in bind() typedef
80 fp_type in bind()
83 fp_type(f) in bind()
117 > fp_type; in bind() typedef
120 fp_type in bind()
123 fp_type(f) in bind()
157 > fp_type; in bind() typedef
[all …]
Dbind_member_function_30.hpp41 > fp_type; in bind() typedef
44 fp_type in bind()
48 fp_type(f) in bind()
80 > fp_type; in bind() typedef
83 fp_type in bind()
87 fp_type(f) in bind()
118 > fp_type; in bind() typedef
121 fp_type in bind()
125 fp_type(f) in bind()
164 > fp_type; in bind() typedef
[all …]
Dbind_function_40.hpp37 > fp_type; in bind() typedef
40 fp_type in bind()
43 fp_type(f) in bind()
77 > fp_type; in bind() typedef
80 fp_type in bind()
83 fp_type(f) in bind()
117 > fp_type; in bind() typedef
120 fp_type in bind()
123 fp_type(f) in bind()
157 > fp_type; in bind() typedef
[all …]
Dbind_member_function_40.hpp41 > fp_type; in bind() typedef
44 fp_type in bind()
48 fp_type(f) in bind()
80 > fp_type; in bind() typedef
83 fp_type in bind()
87 fp_type(f) in bind()
118 > fp_type; in bind() typedef
121 fp_type in bind()
125 fp_type(f) in bind()
164 > fp_type; in bind() typedef
[all …]
Dbind_member_function_50.hpp41 > fp_type; in bind() typedef
44 fp_type in bind()
48 fp_type(f) in bind()
80 > fp_type; in bind() typedef
83 fp_type in bind()
87 fp_type(f) in bind()
118 > fp_type; in bind() typedef
121 fp_type in bind()
125 fp_type(f) in bind()
164 > fp_type; in bind() typedef
[all …]
Dbind_function_50.hpp37 > fp_type; in bind() typedef
40 fp_type in bind()
43 fp_type(f) in bind()
77 > fp_type; in bind() typedef
80 fp_type in bind()
83 fp_type(f) in bind()
117 > fp_type; in bind() typedef
120 fp_type in bind()
123 fp_type(f) in bind()
157 > fp_type; in bind() typedef
[all …]
/third_party/boost/boost/phoenix/bind/
Dbind_member_function.hpp72 typedef detail::member_function_ptr<RT, RT (ClassT::*)(T...)> fp_type; in bind() typedef
73 … return detail::expression::function_eval<fp_type, ClassA, A...>::make(fp_type(f), obj, a...); in bind()
85 typedef detail::member_function_ptr<RT, RT(ClassT::*)(T...) const> fp_type; in bind() typedef
86 … return detail::expression::function_eval<fp_type, ClassA, A...>::make(fp_type(f), obj, a...); in bind()
98 typedef detail::member_function_ptr<RT, RT(ClassT::*)(T...)> fp_type; in bind() typedef
99 … return detail::expression::function_eval<fp_type, ClassT, A...>::make(fp_type(f), obj, a...); in bind()
111 typedef detail::member_function_ptr<RT, RT(ClassT::*)(T...) const> fp_type; in bind() typedef
112 … return detail::expression::function_eval<fp_type, ClassT, A...>::make(fp_type(f), obj, a...); in bind()
Dbind_function.hpp60 typedef detail::function_ptr<RT, RT (*)(T...)> fp_type; in bind() typedef
61 return detail::expression::function_eval<fp_type, A...>::make(fp_type(f), a...); in bind()
/third_party/boost/boost/multiprecision/detail/functions/
Dtrig.hpp87 typedef typename mpl::front<typename T::float_types>::type fp_type; in eval_sin() typedef
162 const bool b_near_zero = xx.compare(fp_type(1e-1)) < 0; in eval_sin()
163 const bool b_near_pi_half = t.compare(fp_type(1e-1)) < 0; in eval_sin()
179 t2 = fp_type(1.5); in eval_sin()
189 t2 = fp_type(0.5); in eval_sin()
209 t2 = fp_type(1.5); in eval_sin()
244 typedef typename mpl::front<typename T::float_types>::type fp_type; in eval_cos() typedef
327 const bool b_near_zero = xx.compare(fp_type(1e-1)) < 0; in eval_cos()
341 n_pi = fp_type(0.5f); in eval_cos()
438 typedef typename mpl::front<typename T::float_types>::type fp_type; in eval_asin() typedef
[all …]
Dpow.hpp351 typedef typename mpl::front<typename T::float_types>::type fp_type; in eval_log() typedef
382 if (t.compare(fp_type(2) / fp_type(3)) <= 0) in eval_log()
472 typedef typename mpl::front<typename T::float_types>::type fp_type; typedef
667 …if ((x.compare(fp_type(0.5)) >= 0) && (x.compare(fp_type(0.9)) < 0) && (an < max_an) && (an > min_…
669 if (a.compare(fp_type(1e-5f)) <= 0)
816 typedef typename mpl::front<typename T::float_types>::type fp_type; typedef
842 …bool small_sinh = eval_get_sign(x) < 0 ? x.compare(fp_type(-0.5)) > 0 : x.compare(fp_type(0.5)) < …
/third_party/boost/libs/multiprecision/example/
Ddebug_adaptor_snips.cpp18 typedef number<debug_adaptor<cpp_dec_float<50> > > fp_type; in t1() typedef
20 fp_type denom = 1; in t1()
21 fp_type sum = 1; in t1()
29 std::cout << std::setprecision(std::numeric_limits<fp_type>::digits) << sum << std::endl; in t1()
/third_party/mindspore/tests/st/ops/gpu/
Dtest_acos_grad_grad_op.py57 def test_acos_grad_grad(fp_type, error_magnitude, mode): argument
58 x = Tensor(np.array([0, -0.25, 0.5, 0.3]).astype(fp_type))
59 grad = Tensor(np.array([0, -0.25, 0.5, 0.3]).astype(fp_type))
60 dout = Tensor(np.array([2, 2, 2, 2]).astype(fp_type))
62 expect_ddy = np.array([-2, -2.0655911, -2.3094011, -2.0965697]).astype(fp_type)
63 expect_d2x = np.array([0, -0.1377061, -0.7698004, -0.2073530]).astype(fp_type)
Dtest_asin_grad_grad_op.py57 def test_asin_grad_grad(fp_type, error_magnitude, mode): argument
58 x = Tensor(np.array([0, -0.25, 0.5, 0.3]).astype(fp_type))
59 grad = Tensor(np.array([0, -0.25, 0.5, 0.3]).astype(fp_type))
60 dout = Tensor(np.array([2, 2, 2, 2]).astype(fp_type))
62 expect_ddy = np.array([2, 2.0655911, 2.3094011, 2.0965697]).astype(fp_type)
63 expect_d2x = np.array([0, 0.1377061, 0.7698004, 0.2073530]).astype(fp_type)
/third_party/boost/boost/geometry/policies/robustness/
Dsegment_ratio.hpp149 boost::numeric_cast<fp_type>(m_numerator) * scale() in initialize()
150 / boost::numeric_cast<fp_type>(m_denominator) in initialize()
189 static fp_type const small_part_of_scale = scale() / 100; in near_end()
245 >::type fp_type; typedef in boost::geometry::segment_ratio
255 fp_type m_approximation;
258 static inline fp_type scale() in scale()
/third_party/boost/libs/math/example/
Dfft_sines_table.cpp132 std::string fp_type = "double"; in main() local
135 << fp_type << ". " << std::endl; in main()
/third_party/ltp/tools/sparse/sparse-src/
Dsymbol.h289 fp_type;
450 return type->ctype.base_type == &fp_type; in is_float_type()
495 if (type->ctype.base_type == &fp_type) in is_scalar_type()
/third_party/flutter/skia/src/sksl/
DSkSLContext.h209 , fFragmentProcessor_Type(fp_type(fInt_Type.get(), fBool_Type.get()))
412 static std::unique_ptr<Type> fp_type(const Type* intType, const Type* boolType) { in fp_type() function

12