24 #ifndef PPL_Rounding_Dir_inlines_hh
25 #define PPL_Rounding_Dir_inlines_hh 1
27 #include "assertions.hh"
34 const unsigned res =
static_cast<unsigned>(x) & static_cast<unsigned>(y);
41 const unsigned res =
static_cast<unsigned>(x) | static_cast<unsigned>(y);
99 #if PPL_CAN_CONTROL_FPU
116 #undef PPL_FPU_DOWNWARD
117 #undef PPL_FPU_TONEAREST
118 #undef PPL_FPU_TOWARDZERO
119 #undef PPL_FPU_UPWARD
141 #endif // !defined(PPL_Rounding_Dir_inlines_hh)
Rounding_Dir round_dir(Rounding_Dir dir)
Rounding_Dir
Rounding directions for arithmetic computations.
bool round_ignore(Rounding_Dir dir)
fpu_rounding_direction_type
bool round_strict_relation(Rounding_Dir dir)
bool round_inverse(Rounding_Dir dir)
Rounding_Dir inverse(Rounding_Dir dir)
I_Result operator&(I_Result a, I_Result b)
fpu_rounding_direction_type round_fpu_dir(Rounding_Dir dir)
bool round_not_needed(Rounding_Dir dir)
I_Result operator|(I_Result a, I_Result b)
bool round_up(Rounding_Dir dir)
The entire library is confined to this namespace.
bool round_direct(Rounding_Dir dir)
bool round_down(Rounding_Dir dir)
bool round_not_requested(Rounding_Dir dir)