Home
last modified time | relevance | path

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

/external/sdv/vsomeip/third_party/boost/numeric/interval/include/boost/numeric/interval/detail/
Dia64_rounding_control.hpp27 struct ia64_rounding_control struct
29 typedef unsigned int rounding_mode;
31 static void set_rounding_mode(const rounding_mode& mode) { in set_rounding_mode()
33 static void get_rounding_mode(rounding_mode& mode) { mode = fegetround(); } in get_rounding_mode()
35 static void downward() { set_rounding_mode(FE_DOWNWARD); } in downward()
36 static void upward() { set_rounding_mode(FE_UPWARD); } in upward()
37 static void to_nearest() { set_rounding_mode(FE_TONEAREST); } in to_nearest()
38 static void toward_zero() { set_rounding_mode(FE_TOWARDZERO); } in toward_zero()