Home
last modified time | relevance | path

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

/external/sdv/vsomeip/third_party/boost/numeric/interval/include/boost/numeric/interval/detail/
Dsparc_rounding_control.hpp30 struct sparc_rounding_control struct
32 typedef unsigned int rounding_mode;
34 static void set_rounding_mode(const rounding_mode& mode) in set_rounding_mode()
48 static void get_rounding_mode(rounding_mode& mode) in get_rounding_mode()
63 static void downward() { set_rounding_mode(FP_RM); } in downward()
64 static void upward() { set_rounding_mode(FP_RP); } in upward()
65 static void to_nearest() { set_rounding_mode(FP_RN); } in to_nearest()
66 static void toward_zero() { set_rounding_mode(FP_RZ); } in toward_zero()
68 static void downward() { set_rounding_mode(0xc0000000); } in downward()
69 static void upward() { set_rounding_mode(0x80000000); } in upward()
[all …]