Searched defs:ppc_rounding_control (Results 1 – 1 of 1) sorted by relevance
36 struct ppc_rounding_control struct38 typedef double rounding_mode;40 static void set_rounding_mode(const rounding_mode mode) in set_rounding_mode()43 static void get_rounding_mode(rounding_mode& mode) in get_rounding_mode()46 static void downward() { set_rounding_mode(mode_downward.dmode); } in downward()47 static void upward() { set_rounding_mode(mode_upward.dmode); } in upward()48 static void to_nearest() { set_rounding_mode(mode_to_nearest.dmode); } in to_nearest()49 static void toward_zero() { set_rounding_mode(mode_toward_zero.dmode); } in toward_zero()