24 #ifndef PPL_fpu_none_inlines_hh
25 #define PPL_fpu_none_inlines_hh 1
33 throw std::logic_error(
"PPL::fpu_initialize_control_functions():"
34 " cannot control the FPU");
39 throw std::logic_error(
"PPL::fpu_get_rounding_direction():"
40 " cannot control the FPU");
45 throw std::logic_error(
"PPL::fpu_set_rounding_direction():"
46 " cannot control the FPU");
51 throw std::logic_error(
"PPL::fpu_save_rounding_direction():"
52 " cannot control the FPU");
57 throw std::logic_error(
"PPL::fpu_reset_inexact():"
58 " cannot control the FPU");
63 throw std::logic_error(
"PPL::fpu_restore_rounding_direction():"
64 " cannot control the FPU");
69 throw std::logic_error(
"PPL::fpu_check_inexact():"
70 " cannot control the FPU");
75 #endif // !defined(PPL_fpu_none_inlines_hh)
fpu_rounding_direction_type
fpu_rounding_control_word_type fpu_save_rounding_direction(fpu_rounding_direction_type dir)
Sets the FPU rounding direction to dir and returns the rounding control word previously in use...
int fpu_check_inexact()
Queries the inexact computation status.
fpu_rounding_direction_type fpu_get_rounding_direction()
Returns the current FPU rounding direction.
void fpu_reset_inexact()
Clears the inexact computation status.
void fpu_restore_rounding_direction(fpu_rounding_control_word_type)
Restores the FPU rounding rounding control word to cw.
The entire library is confined to this namespace.
void fpu_initialize_control_functions()
Initializes the FPU control functions.
void fpu_set_rounding_direction(fpu_rounding_direction_type dir)
Sets the FPU rounding direction to dir.