Home
last modified time | relevance | path

Searched defs:rounding_control (Results 1 – 10 of 10) sorted by relevance

/third_party/boost/boost/numeric/interval/detail/
Dia64_rounding_control.hpp50 struct rounding_control<float>: struct
53 static float force_rounding(const float r) in force_rounding()
55 static float to_int(const float& x) { return rintf(x); } in to_int()
59 struct rounding_control<double>: struct
62 static const double & force_rounding(const double& r) { return r; } in force_rounding()
63 static double to_int(const double& r) { return rint(r); } in to_int()
67 struct rounding_control<long double>: struct
70 static const long double & force_rounding(const long double& r) { return r; } in force_rounding()
71 static long double to_int(const long double& r) { return rintl(r); } in to_int()
Dc99_rounding_control.hpp21 struct rounding_control<float>: struct
24 static float force_rounding(float const &r) in force_rounding()
29 struct rounding_control<double>: struct
32 static double force_rounding(double const &r) in force_rounding()
37 struct rounding_control<long double>: struct
40 static long double force_rounding(long double const &r) in force_rounding()
Dalpha_rounding_control.hpp82 struct rounding_control<float>: struct
85 static float force_rounding(const float r) in force_rounding()
87 static float to_int(const float& x) { return rintf(x); } in to_int()
91 struct rounding_control<double>: struct
94 static const double & force_rounding(const double& r) { return r; } in force_rounding()
95 static double to_int(const double& r) { return rint(r); } in to_int()
99 struct rounding_control<long double>: struct
102 static const long double & force_rounding(const long double& r) { return r; } in force_rounding()
103 static long double to_int(const long double& r) { return rintl(r); } in to_int()
Dsparc_rounding_control.hpp83 struct rounding_control<float>: struct
86 static const float& force_rounding(const float& x) { return x; } in force_rounding()
87 static float to_int(const float& x) { return rintf(x); } in to_int()
91 struct rounding_control<double>: struct
94 static const double& force_rounding(const double& x) { return x; } in force_rounding()
95 static double to_int(const double& x) { return rint(x); } in to_int()
99 struct rounding_control<long double>: struct
102 static const long double& force_rounding(const long double& x) { return x; } in force_rounding()
103 static long double to_int(const long double& x) { return rint(x); } in to_int()
Dppc_rounding_control.hpp64 struct rounding_control<float>: struct
67 static float force_rounding(const float r) in force_rounding()
73 static float to_int(const float& x) { return rintf(x); } in to_int()
77 struct rounding_control<double>: struct
80 static const double & force_rounding(const double& r) { return r; } in force_rounding()
81 static double to_int(const double& r) { return rint(r); } in to_int()
85 struct rounding_control<long double>: struct
88 static const long double & force_rounding(const long double& r) { return r; } in force_rounding()
89 static long double to_int(const long double& r) { return rint(r); } in to_int()
Dx86_rounding_control.hpp61 struct rounding_control<float>: detail::x86_rounding_control struct
63 static float force_rounding(const float& r) in force_rounding()
68 struct rounding_control<double>: detail::x86_rounding_control struct
72 static double force_rounding(const double& r) in force_rounding()
98 struct rounding_control<long double>: struct
/third_party/boost/boost/numeric/interval/
Drounding.hpp22 struct rounding_control struct
24 typedef int rounding_mode;
25 static void get_rounding_mode(rounding_mode&) {} in get_rounding_mode()
26 static void set_rounding_mode(rounding_mode) {} in set_rounding_mode()
27 static void upward() {} in upward()
28 static void downward() {} in downward()
29 static void to_nearest() {} in to_nearest()
30 static const T& to_int(const T& x) { return x; } in to_int()
31 static const T& force_rounding(const T& x) { return x; } in force_rounding()
/third_party/boost/libs/numeric/interval/test/
Dadd.cpp108 struct rounding_control<pexpr> { struct
109 typedef enum { RND_U, RND_M, RND_D } rounding_mode;
110 static rounding_mode mode;
111 rounding_control() { mode = RND_M; } in rounding_control() argument
112 void get_rounding_mode(rounding_mode& m) { m = mode; } in get_rounding_mode()
113 void set_rounding_mode(rounding_mode m) { mode = m; } in set_rounding_mode()
114 void upward() { mode = RND_U; } in upward()
115 void downward() { mode = RND_D; } in downward()
116 pexpr force_rounding(pexpr a) { in force_rounding()
/third_party/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_vp3_video_vp.c76 uint8_t rounding_control; // 56 member
/third_party/mesa3d/src/gallium/include/pipe/
Dp_video_state.h230 uint8_t rounding_control; member