Searched defs:x86_fast_rounding_control (Results 1 – 1 of 1) sorted by relevance
37 struct x86_fast_rounding_control<float>: detail::x86_rounding struct39 static void to_nearest() { set_rounding_mode(detail::rnd_mode_f.to_nearest); } in to_nearest()40 static void downward() { set_rounding_mode(detail::rnd_mode_f.downward); } in downward()41 static void upward() { set_rounding_mode(detail::rnd_mode_f.upward); } in upward()42 static void toward_zero() { set_rounding_mode(detail::rnd_mode_f.toward_zero); } in toward_zero()43 static const float& force_rounding(const float& r) { return r; } in force_rounding()47 struct x86_fast_rounding_control<double>: detail::x86_rounding struct49 static void to_nearest() { set_rounding_mode(detail::rnd_mode_d.to_nearest); } in to_nearest()50 static void downward() { set_rounding_mode(detail::rnd_mode_d.downward); } in downward()51 static void upward() { set_rounding_mode(detail::rnd_mode_d.upward); } in upward()[all …]