Searched refs:set_rounding_mode (Results 1 – 12 of 12) sorted by relevance
39 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()49 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()52 static void toward_zero() { set_rounding_mode(detail::rnd_mode_d.toward_zero); } in toward_zero()59 static void to_nearest() { set_rounding_mode(detail::rnd_mode_l.to_nearest); } in to_nearest()60 static void downward() { set_rounding_mode(detail::rnd_mode_l.downward); } in downward()[all …]
43 static void set_rounding_mode(const rounding_mode mode) in set_rounding_mode() function49 static void downward() { set_rounding_mode(mode_downward.dmode); } in downward()50 static void upward() { set_rounding_mode(mode_upward.dmode); } in upward()51 static void to_nearest() { set_rounding_mode(mode_to_nearest.dmode); } in to_nearest()52 static void toward_zero() { set_rounding_mode(mode_toward_zero.dmode); } in toward_zero()64 static void set_rounding_mode(const rounding_mode& mode) { write_rnd(mode); }67 static void downward() { set_rounding_mode(FP_RND_RM); }68 static void upward() { set_rounding_mode(FP_RND_RP); }69 static void to_nearest() { set_rounding_mode(FP_RND_RN); }70 static void toward_zero() { set_rounding_mode(FP_RND_RZ); }
34 static void set_rounding_mode(const rounding_mode& mode) in set_rounding_mode() function63 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()70 static void to_nearest() { set_rounding_mode(0x00000000); } in to_nearest()71 static void toward_zero() { set_rounding_mode(0x40000000); } in toward_zero()
27 static void set_rounding_mode(rounding_mode mode) { fesetround(mode); } in set_rounding_mode() function29 static void downward() { set_rounding_mode(FE_DOWNWARD); } in downward()30 static void upward() { set_rounding_mode(FE_UPWARD); } in upward()31 static void to_nearest() { set_rounding_mode(FE_TONEAREST); } in to_nearest()32 static void toward_zero() { set_rounding_mode(FE_TOWARDZERO); } in toward_zero()
31 static void set_rounding_mode(const rounding_mode& mode) { in set_rounding_mode() function35 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()
40 static void set_rounding_mode(const rounding_mode mode) in set_rounding_mode() function46 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()
51 static void to_nearest() { set_rounding_mode(rnd_mode.to_nearest); }52 static void downward() { set_rounding_mode(rnd_mode.downward); }53 static void upward() { set_rounding_mode(rnd_mode.upward); }54 static void toward_zero() { set_rounding_mode(rnd_mode.toward_zero); }
31 static void set_rounding_mode(const rounding_mode& mode) in set_rounding_mode() function
47 static void set_rounding_mode(const rounding_mode mode) in set_rounding_mode() function
90 static void set_rounding_mode(const rounding_mode mode) in set_rounding_mode() function
26 static void set_rounding_mode(rounding_mode) {} in set_rounding_mode() function83 ~save_state() { this->set_rounding_mode(mode); } in ~save_state()
113 void set_rounding_mode(rounding_mode m) { mode = m; } in set_rounding_mode() function